Message system language (russian) incompatibility

ClayRabbit

Verified User
Joined
Jan 3, 2004
Messages
260
Location
Russia
For the first time when we tried to write tikets in russian they becomes badly encoded and displayed like
PHP:
проверка
Text saved in directadmin/data/tickets/.../000.msg is just like above.
HTML source (from page with ticket) for that string is:
PHP:
&#38&#35&#49&#48&#56&#55&#59&#38&#35&#49&#48&#56&#56&#59&#38&#35&#49&#48&#56&#54&#59&#38&#35&#49&#48&#55&#52&#59&#38&#35&#49&#48&#55&#55&#59&#38&#35&#49&#48&#56&#56&#59&#38&#35&#49&#48&#56&#50&#59&#38&#35&#49&#48&#55&#50&#59
After we added
PHP:
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
letters becomes saved and displayed correctly except one letter.
PHP:
"ÿ" ( я )
If message body contains that letter - when displayed in ticket system it's cutted at first occurence of that letter.
If message subject contains that letter - ticket system stop working at all - it's displaying:
PHP:
Program Error
 
Details
A segmentation fault has occured
(BTW, In directadmin/data/tickets/.../*.msg files messages saved correctly with all letters :)
 
Back
Top