PHP Classes

Bug with "я" character (Cyrillic)

Recommend this page to a friend!

      RTF Generator  >  All threads  >  Bug with "я" character (Cyrillic)  >  (Un) Subscribe thread alerts  
Subject:Bug with "я" character (Cyrillic)
Summary:The "я" character is removed in the rtf documents. Bugfix
Date:2011-05-30 08:10:19

  1. Bug with "я" character (Cyrillic)   Reply   Report abuse  
Picture of Tigran Tigran - 2011-05-30 08:10:19
To fix bug disappearing "я" character (russian codepage) you need to:
find string #283 in class_rtf.php:
if (ord($character) >= 0x80 and ord($character) < 0xFF)

and replace it with string:
if (ord($character) >= 0x80 and ord($character) <= 0xFF)

Thanks for this great class!