It is currently September 20th, 2019, 12:58 pm

Asian character support on the twitter reader

Help with creating, editing & fixing problems with skins
fenriswaffles
Posts: 3
Joined: June 5th, 2010, 7:44 pm

Asian character support on the twitter reader

fenriswaffles » June 5th, 2010, 7:54 pm

Any Asian characters (in this case, Japanese) show up on the Enigma Twitter reader skin as some string of numbers (something like: 唐)

I know the Gmail reader displays them just fine, is it a difference in how Gmail and twitter display the characters? Is there really anything I can do to remedy this?
User avatar
maminscris
Posts: 522
Joined: April 24th, 2009, 3:17 pm
Location: Bucharest, Romania Lat 44,43° Lon 26,1°

Re: Asian character support on the twitter reader

maminscris » June 5th, 2010, 8:37 pm

Zero at programing, zero at writing codes, so far 2 at making images
But I'm good at copy/paste, and I not always like this
Image
fenriswaffles
Posts: 3
Joined: June 5th, 2010, 7:44 pm

Re: Asian character support on the twitter reader

fenriswaffles » June 6th, 2010, 2:29 am

Well, it seems at the end of the thread, the poster speaks of a similar problem to mine, without an answer yet.

Just doing substitution would seem ridiculous for the number of Japanese characters.

and I haven't quite figured out how the codepage thing works, I've added it under the [Feed] section as "codepage=932" (I was not quite sure what the codepage would be, and searching most commonly came up with that result), the .rss feed says its encoding is UTF-8, if thats of any help.

EDIT: Actually looking at the .rss, its the same thing there.
User avatar
kenz0
Developer
Posts: 264
Joined: July 31st, 2009, 2:23 pm
Location: Tokyo, JPN

Re: Asian character support on the twitter reader

kenz0 » June 6th, 2010, 8:48 am

This problem is not related to encoding type of feed, and it is matter of numeric character reference.
Unfortunately, WebParser doesn't have the feature to decode a character reference like browser.
We have only a way to replace each characters using Substitute. (e.g. Substitute="あ":"あ")
But this solution is impractical as you know because you have to replace several thousands of characters.

This problem may be improved in a future version, but spx's WebParser.dll would help you for the meantime.
.
Image
fenriswaffles
Posts: 3
Joined: June 5th, 2010, 7:44 pm

Re: Asian character support on the twitter reader

fenriswaffles » June 7th, 2010, 2:55 am

Thank you kenz0, that was very much appreciated. Even if it isn't solved in future releases, I at least have some better understanding of how to go about it.