Support and General Use > Plugins/Viewers
sncviewer plugin
roolku:
--- Quote from: (:@) on January 16, 2006, 08:51:54 AM ---
--- Quote from: chlide on January 16, 2006, 08:14:04 AM ---I have tried sncviewer for H300, but it cannot show unicode like Chinese.
Will unicode support be added in this plugin?
--- End quote ---
it should work if you convert your snc file (encoded in GB) to utf8.
i have the problem, that i sometimes got some delays ...
--- End quote ---
I am struggeling to get the unicode working. When I am converting my latin-1 snc file to utf-8 (save as in notepad) the result doesn't work at all. Looking at the plugin source I believe I can see the following problems:
- The BOM (EF BB BF) at the beginning is not skipped.
- The magic bytes for the time stamp are C2 A2 C3 A2 while you check for: E2 91 A9
If I edit my unicode snc files to remove the BOM and replace C2 A2 C3 A2 with E2 91 A9 it sort of works: I get the accented characters, but the lines wraps too early and as a result I get additional lines and a "not enough rows" error as a result.
What am I missing here - since it seems to work for you I must be doing something wrong.
Cheers
Roolku
P.S. Would it be possible to convert the snc files to utf-8 within the plugin (taking into account the default codepage from the settings?). That would save the hassle with converting the files.
Roolku
(:@):
the plugin is updated: change timetags is now possible
MoAv:
Is that what I think it is ??
Thanx !
EDIT :
Well it doesn't seem to work on my H120 , gives me :
I04:IllInstr
at 32F40000
(:@):
--- Quote from: MoAv on January 18, 2006, 09:11:49 AM ---Is that what I think it is ??
Thanx !
--- End quote ---
yes, i think it is what you have requested.
--- Quote ---EDIT :
Well it doesn't seem to work on my H120 , gives me :
I04:IllInstr
at 32F40000
--- End quote ---
recently the plugin loader got many changes. the best way is to clean and rebuild rockbox instead of using the binary i've included in the sncviewer.doc
roolku:
Could you please comment on the UTF-8 issue.
Cheers
Robert
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version