View previous topic :: View next topic |
Author |
Message |
jgd Agent Smith
Joined: Feb 27, 2005 Posts: 1531 Location: France
|
Posted: Mon Jun 19, 2006 7:04 am Post subject: Encoding in latin1 |
|
I have a little app, writen in NeoO2 basic (not by me), which translates LaTeX files with extension .tex into NeoO2 .odt documents. I write in French. If the LaTeX file is encoded in utf8, there is no problem, the translation is good. But if it's in latin1, the accented letters are not translated. I just get a ? instead of the letter.
Can I change NeoO's encoding when the LaTeX file is in latin1 ? And how ?
Thank to anyone who can help.
And thanks to all those who make NeoO so nice and efficient. |
|
Back to top |
|
|
jgd Agent Smith
Joined: Feb 27, 2005 Posts: 1531 Location: France
|
Posted: Mon Jul 03, 2006 5:14 am Post subject: |
|
I answer me. Maybe the workaround can help someone who writes in languages with those annoying accented characters and who has to open files not encoded in UTF-8.
Menu > File > Open
File type > Text Encoded
Select the file encoded in ISO-8859-1 (or your encoding, of course)
in window ASCII Filter Options choose Western Europe (ISO-8859-1) (or .…)
Then
Menu > File > Save As
File Type > Text Encoded
check Edit filter settings
ASCII Filter Options > Character set > Unicode(UTF-8)
and it's OK.
A bit complicated, but it works fine. Those encoding problems are frequent and boring for non-English speakers (writers…). You can do this conversion in TextEdit, but I wanted to use Neo and only Neo. |
|
Back to top |
|
|
sardisson Town Crier
Joined: Feb 01, 2004 Posts: 4588
|
Posted: Mon Jul 03, 2006 11:12 pm Post subject: |
|
Ah, I'd totally forgotten about the "Text Encoded" option. I'm glad you figured that out
I've added you tip to the wiki so that it will be easier (hopefully) for others to find: http://neowiki.sixthcrusade.com/index.php/Converting_non-UTF-8_text_files
Smokey _________________ "[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki |
|
Back to top |
|
|
jgd Agent Smith
Joined: Feb 27, 2005 Posts: 1531 Location: France
|
Posted: Tue Jul 04, 2006 1:43 am Post subject: |
|
Thank you very much. Your text is more thorough than mine and can be very useful.
NeoO can do everything. |
|
Back to top |
|
|
|