![]() |
#16 |
Created Sigil, FlightCrew
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
This has been fixed and the fix will be in the next release.
|
![]() |
![]() |
![]() |
#17 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 281
Karma: 52007
Join Date: Jun 2010
Device: nook
|
I recently had another similar problem, which was not Sigil's fault.
I imported a text file, and it was full of bizarre character. There was no BOM marker at the start of the text file, and translating the file into UTF-8 did nothing. So I looked at one of the garbage characters with a hex editor, and did some research on Google. As it turns out, the file was in this obsolete format called "Mac OS Roman" or "Macroman". Lucky for me, Python comes with a codec that understands MacRoman. So I wrote a quick script that opened the file with codecs.open('myfile.txt', "r", 'mac-roman'), read it in, and wrote it out into an output file created with codecs.open('myfile_CLEAN.txt', 'w', 'utf-8') Problem solved. |
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Dylanologist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 200
Karma: 146754
Join Date: Apr 2010
Location: Hanover, New Hampshire, USA
Device: none/all/any
|
|
![]() |
![]() |
![]() |
#19 |
Member
![]() Posts: 11
Karma: 64
Join Date: Jun 2009
Device: sony 505
|
|
![]() |
![]() |
![]() |
#20 |
You kids get off my lawn!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,220
Karma: 73492664
Join Date: Aug 2007
Location: Columbus, Ohio
Device: Oasis 2 and Libra H2O and half a dozen older models I can't let go of
|
|
![]() |
![]() |
Advert | |
|
![]() |
#21 |
Created Sigil, FlightCrew
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
|
![]() |
![]() |
![]() |
#22 | |
You kids get off my lawn!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,220
Karma: 73492664
Join Date: Aug 2007
Location: Columbus, Ohio
Device: Oasis 2 and Libra H2O and half a dozen older models I can't let go of
|
Quote:
![]() Well, do enjoy your vacation! I wish they'd let me take two weeks in a row at work! |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
"Settings," then "311" - Int'l Kindle searches for wireless providers in the area | Dr. Drib | Amazon Kindle | 2 | 08-28-2011 10:27 AM |
Yep. It's official. Sony Reader has "ruined" books for me. A final "review." | WilliamG | Sony Reader | 48 | 01-14-2011 03:49 AM |
"Balanced copyright" and feedback from real people (not just corporate "persons") | llreader | News | 16 | 02-15-2010 08:27 AM |
"Zeit-Odyssee"-Trilogie droht das "dunkle Turm"-Schicksal | ThR | E-Books | 4 | 02-10-2010 05:18 AM |
Question - Does iLiab have the "search" & "annotation, highlighting" features? | HiSoC8Y | iRex | 5 | 07-01-2009 04:37 PM |