![]() |
#1 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jan 2005
|
Problem, cannot use big5 document name
First ,I want to say sorry to everyone,
because my english is not very well. I think SUNRISE is really great , but I get some problem now. Every time,after I convert the web siteby SUNRISE. the file name is correct right big5 filename, but the document name will belcome[????] Does anyone know how to solve this problem ? Plz help me . I will vary appreciate. THANKS FILE NAME ![]() DB NAME ![]() Last edited by dwf_lou; 01-18-2005 at 12:28 AM. |
![]() |
![]() |
#2 |
Jah Blessed
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,295
Karma: 1373
Join Date: Apr 2003
Location: The Netherlands
Device: iPod Touch
|
This happens because the output encoding is not applied to the PDB name. Will look into this for the next bugfix release. For now, you should use only ASCII characters for the document name.
|
![]() |
Advert | |
|
![]() |
#3 |
Uebermensch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,583
Karma: 1094606
Join Date: Jul 2003
Location: Italy
Device: Kindle
|
dwf_lou, welcome on board!
Please in future don't use the caps lock key when tryping your post. It makes it much harder to read ![]() Tad |
![]() |
![]() |
#4 | |
Groupie
![]() ![]() ![]() ![]() Posts: 151
Karma: 368
Join Date: Aug 2004
Location: Charlotte, NC
Device: Kindle Paperwhite 2021, assorted Fire tablets.
|
Quote:
![]() I keed I keed. Yea I'm in a wacky mood today. Must be because I had the day off ![]() |
|
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jan 2005
|
DEAR LAURENS:
Sorry to bother u again with the same problem. Last time , u say I can't use document name encoding in BIG5, this problem will be solve when next bugfix released. So yesterday when I saw the sunrise 0.41 released , I'm so exciting for a few moment . ![]() But , when I convert the web site, the problem is still there ![]() If I try to use document name in BIG5, then I i will get ???? . Can u help me ? what's the problem , how can I solve it ![]() vary vary vary thanks ![]() |
![]() |
Advert | |
|
![]() |
#6 |
Jah Blessed
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,295
Karma: 1373
Join Date: Apr 2003
Location: The Netherlands
Device: iPod Touch
|
I did look into this and came to the conclusion that it cannot be fixed because Big5 is a variable-length encoding. The PDB format allows only for a zero-terminated string of 8-bit characters. You cannot fit a variable-length encoding into this.
In short: this cannot be fixed. You should use characters in the Windows-1252 range only. |
![]() |
![]() |
#7 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jan 2005
|
Ok , I get it .
now I will try to find another way to avoid this problem . vary thanks for ur discursus . ![]() wish u have a nice day |
![]() |
![]() |
#8 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Feb 2005
Device: Treo 600
|
Does it mean that the file name can not have the same encoding with the content? Say if the output file using the encoding other than Windows-1252, it can not write the correct file name into the PDB file? Under the Windows explorer, it display correctly while I open the pgb with UltraEdit, it shows in "????"
I can successfully change the file name using FileZ. |
![]() |
![]() |
#9 | |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Aug 2005
Device: TT3
|
Quote:
If the DB name does not allow Big5 encoding, how can I change the DB name in plucker to Chinese correctly? The problem is werid. And, as I know Big5 is a fixed-length encoding. Every Chinese characters composed by two bytes. So, what do you mean "varialbe-length" encoding? I am a little bit confused here ... ![]() I just guess, in Microsoft Traditional Chinese Windows XP/2000, use "big5" as default locale. When sunrise running, sunrise will also convert the "document name" again .... For example: "XXYY" is the document name, and is encoded by big5. My channel config as following: Input: UTF-8 (or others) OutPut: Big5 So, when sunrise build the pdb file, it will convert the "XXYY" from utf-8 to big5 again and set it to document name..... that's why the document name is "??" And actaully "XXYY"'s encoding here is big5, not utf-8. Mark Last edited by markwu; 08-09-2005 at 12:45 PM. |
|
![]() |
![]() |
#10 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Aug 2005
Device: TT3
|
Forget about this. My guess is wrong.
I just try to sync a site with big5 encoding, So, the The input encoding is: Big5 Output is big5 too ... And, I still get ??? Mark |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Hacks Creat your own document. | jgumphress | Amazon Kindle | 5 | 09-11-2010 02:55 PM |
Last read document | Mackx | iRex | 5 | 07-07-2010 06:58 AM |
How to convert a Word document into a Kindle document? | PS Kindle | Kindle Developer's Corner | 2 | 12-08-2009 08:40 PM |
Different fonts in the same document | Vesper | Bookeen | 9 | 06-21-2008 03:20 PM |
xhtml document | deadite66 | iRex | 1 | 08-02-2006 03:15 PM |