Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
CI_Utf8
safe_ascii_for_xml
CI_Utf8::safe_ascii_for_xml PHP Method
CI_Utf8 Class Documentation
Show file
Open project: tastyigniter/tastyigniter
safe_ascii_for_xml()
public
method
Removes all ASCII control characters except horizontal tabs, line feeds, and carriage returns, as all others can cause problems in XML.
public
safe_ascii_for_xml
(
string
$str
) :
string
$str
string
String to clean
return
string
public function safe_ascii_for_xml($str) { return remove_invisible_characters($str, FALSE); }
CI_Utf8
__construct
clean_string
convert_to_utf8
is_ascii
safe_ascii_for_xml