Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > Miscellaneous > Archive > Sunrise

Notices

 
 
Thread Tools Search this Thread
Old 01-17-2005, 01:01 AM   #1
dwf_lou
Junior Member
dwf_lou began at the beginning.
 
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.
dwf_lou is offline  
Old 01-17-2005, 03:02 AM   #2
Laurens
Jah Blessed
Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.
 
Laurens's Avatar
 
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.
Laurens is offline  
Advert
Old 01-17-2005, 06:16 AM   #3
TadW
Uebermensch
TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.TadW ought to be getting tired of karma fortunes by now.
 
TadW's Avatar
 
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
TadW is offline  
Old 01-17-2005, 04:53 PM   #4
Gatton
Groupie
Gatton has a complete set of Star Wars action figures.Gatton has a complete set of Star Wars action figures.Gatton has a complete set of Star Wars action figures.Gatton has a complete set of Star Wars action figures.
 
Gatton's Avatar
 
Posts: 151
Karma: 368
Join Date: Aug 2004
Location: Charlotte, NC
Device: Kindle Paperwhite 2021, assorted Fire tablets.
Quote:
Originally Posted by TadW
Please in future don't use the caps lock key when tryping your post. It makes it much harder to read
Yes use Chinese instead. That'll show em

I keed I keed. Yea I'm in a wacky mood today. Must be because I had the day off
Gatton is offline  
Old 01-23-2005, 10:12 PM   #5
dwf_lou
Junior Member
dwf_lou began at the beginning.
 
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
dwf_lou is offline  
Advert
Old 01-24-2005, 02:50 AM   #6
Laurens
Jah Blessed
Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.
 
Laurens's Avatar
 
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.
Laurens is offline  
Old 01-24-2005, 03:33 AM   #7
dwf_lou
Junior Member
dwf_lou began at the beginning.
 
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
dwf_lou is offline  
Old 02-04-2005, 02:22 AM   #8
lambone
Junior Member
lambone began at the beginning.
 
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.
lambone is offline  
Old 08-09-2005, 12:39 PM   #9
markwu
Junior Member
markwu began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Aug 2005
Device: TT3
Quote:
Originally Posted by Laurens
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.
Hi Laurens:

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.
markwu is offline  
Old 08-09-2005, 01:04 PM   #10
markwu
Junior Member
markwu began at the beginning.
 
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
markwu is offline  
 


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 04:35 PM.


MobileRead.com is a privately owned, operated and funded community.