| SJIS 0x5C Problem [message #7726] |
Sat, 15 July 2006 04:50 |
jgallardo
Messages: 15 Registered: November 2005 Location: Manila
|
phpCollab guest |
|
|
I tried using PHPC v2.5rc3 in japanese language.
Created an SJIS option.
I got problem with 0x5c (yen sign) character.
When it is passed as string from forms, string is truncated or data becomes garbage.
Japanese characters are double-byte. whenever 0x5c is present in one of the bytes, it produces error.
0x5c is equivalent to '\'.
A simple solution is to escape any instance of 0x5c by '\'.
But I can't solve it simply by that.
Some japanese fellow can help me with this.
If you have ideas, please help.
I will try to find fix and report details here.
Thanks.
|
|
|
|