public function rtf::specialCharacters in Bibliography Module 7
Same name and namespace in other branches
- 6.2 modules/rtf/rtf_export.inc \rtf::specialCharacters()
- 6 class_rtf.php \rtf::specialCharacters()
- 7.2 modules/rtf/rtf_export.inc \rtf::specialCharacters()
Convert special characters to ASCII.
1 call to rtf::specialCharacters()
- rtf::parseDocument in modules/
rtf/ rtf_export.inc - Parse the text input to RTF.
File
- modules/
rtf/ rtf_export.inc, line 340
Class
Code
public function specialCharacters($text) {
$text_buffer = "";
for ($i = 0; $i < strlen($text); $i++) {
$text_buffer .= $this
->escapeCharacter($text[$i]);
}
return $text_buffer;
}