Gelez
unread,Apr 27, 2009, 3:07:41 AM4/27/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to MapInfo-L
Hello,
I work under MI 9.5.1.
I meet a problem of letter conversion. On a French forum (I'm from
Paris, France), no one was able to answer my questions.
Here's the problem:
I hold an Excel file of about 3.000 lines with data for Central Europe
villages. I want to open it with MI and conserve all particular
letters in the names of these villages (Č, č, Ć, ć, Đ, đ, Š, š, Ž, ž).
If I open directly the file, only Đ, Š, š, Ž, ž are preserved; but the
"c" with accentuation are not kept: “d” and "c" is there, but there is
no accent. It seems that migration is run with a code that does not
take them in account (perhaps a WindowsLatin1-type code, which knows
Đ, Š, š, Ž, ž). MI does not suggest any other code for migration.
Under Excel, I thus decided to save my .xls in Text UNICODE (.txt),
the only format that keeps on the accents. When opening the .txt file,
MI gives a list of code to read it. I tried several times with
different codes, but no one is able to read my “d” and "c" with
accents. What is worse: apparently, MI does not know UNICODE (UTF-8)
code and related .txt files, but only simple .txt: actually, the
resulting .TAB has only one column where you find strange letters.
Nothing better when I erase the title line.
I thus decided to manage the problem in the frame of MI. As I first
worked under MI 7.5, I kept my .TAB with a WindowsLatin1 charset, and
transformed my letters as following:
Č = È
č = è
Ć = Æ
ć = æ
Đ = Đ
đ = [I did not find the corresponding letter]
Š = Š
š = š
Ž = Ž
ž = ž
Then, for labeling, I had to choose the "Arial CE" or similar CE
police, and I had my accents. This worked pretty well, until I
upgraded MI to 9.5.1 version. It does not work any more.
Under 9.5.1., I tried to write directly in the table with my specific
letters. So I changed the charset of my table (and of the
workspace .WOR) in WindowsLatin2. Nothing.
Now, I don’t know how to get on with this file!
Thanks for help!
Philippe