Hi,
After transferring a text file from Linux (JDarkRoom) to Mac, I could notice some differences in reading diacritical marks in various text editors/wordprocessors on the Mac. The sentence
Questo testo è più che altro una prova
is read correctly by Nisus Writer, NeoOffice Writer, Bean, TextWrangler, Scrivener, but not by TextEdit and Mellel, that read it this way:
Questo testo è più che altro una prova
What can cause this difference, and the resulting problem in Mellel?
Best,
Paolo
Diacritical marks in various programs
Moderators: Eyal Redler, redlers, Ori Redler
-
- Knows everything, can prove it
- Posts: 677
- Joined: Thu Oct 20, 2005 2:55 pm
- Location: Oslo
- Contact:
Re: Diacritical marks in various programs
Scrivener and TextEdit use the same text engine, so it is very odd that they behave differently. I would guess this is a font-related problem. What happens if you select the text in TextEdit or Mellel and apply a font that you have seen working in one of the other applications?
Re: Diacritical marks in various programs
Aside from a simple font problem, it could also be a text encoding problem, so it would be helpful to know how you’ve transferred your text documents from linux to the mac. In which file format are the documents saved (RTF, TXT, DOC…)?
-
- Knows everything, can prove it
- Posts: 112
- Joined: Sat Sep 02, 2006 12:53 pm
- Location: Germany
- Contact:
Re: Diacritical marks in various programs
JDarkRoom is a plain text editor, so it's definitely an encoding problem. TextEdit can't open unicode text files correctly, unless you specify the encoding. The same thing happens with Mellel if you use "Open File" instead of "Import..."
-
- Knows everything, can prove it
- Posts: 105
- Joined: Tue Nov 14, 2006 9:01 pm
- Location: Recanati, I
Re: Diacritical marks in various programs
Signinstranger,
Bingo! In Mellel, importing the text file generated by JDarkRoom, instead of loading it, let me choose the enconding. UTF-8 (Unicode) worked very well. also, choosing the right text encoding, when opening files, worked great in TextEdit.
So, it seems that some programs open files in UTF by default, or have a finer parser when opening plain text files.
Paolo
Bingo! In Mellel, importing the text file generated by JDarkRoom, instead of loading it, let me choose the enconding. UTF-8 (Unicode) worked very well. also, choosing the right text encoding, when opening files, worked great in TextEdit.
So, it seems that some programs open files in UTF by default, or have a finer parser when opening plain text files.
Paolo