import from a UTF8 .txt file

Have new ideas for the next release of IHMC CmapTools and IHMC CmapServer?
We welcome your suggestions and we will carefully consider whether to incorporate them into the software.
Post Reply
taylor3456
Posts: 10
Joined: Sat Jan 08, 2011 8:24 am

import from a UTF8 .txt file

Post by taylor3456 »

I have used CmapTools for some time. It is a wonderful tool!

But I can not import "Propositions as text" from a UTF8 file. Other languages like german or chinese will not be displayed correctly!

I have tried some methods e.g. changing the language in preferences or changing the font in "stzle" afterwards. But either works.

Please help me! Thank you!

Best Regards!
acanas
Posts: 753
Joined: Tue Mar 17, 2009 5:52 pm

Re: import from a UTF8 .txt file

Post by acanas »

Can you please attach a sample file that is giving you problems?
taylor3456
Posts: 10
Joined: Sat Jan 08, 2011 8:24 am

Re: import from a UTF8 .txt file

Post by taylor3456 »

I have tried there possibilities: with "UTF8", "UNICODE" and "UNICODE Big Endian". But neither of them works!

Thank you for your tipps. I hope, that I can also work with other languages.
Attachments
sample Unicode Big Endian.txt
(112 Bytes) Downloaded 322 times
sample Unicode.txt
(112 Bytes) Downloaded 316 times
sample UTF8.txt
(67 Bytes) Downloaded 335 times
taylor3456
Posts: 10
Joined: Sat Jan 08, 2011 8:24 am

Re: import from a UTF8 .txt file

Post by taylor3456 »

sorry for the wrong typing! that should be "or changing the font in "style" afterwards. But neither works." "But none of them works!"
taylor3456
Posts: 10
Joined: Sat Jan 08, 2011 8:24 am

Re: import from a UTF8 .txt file

Post by taylor3456 »

about the environment and others:
1, I am using a german operating sytem.
2, cmap containing german and chinese can be exported without problem into UTF8 .txt file

the import failure what I have described at the beginning can be improved?
User avatar
fridemar
Posts: 56
Joined: Wed Apr 29, 2009 12:11 pm
Location: Germany
Contact:

Re: import from a UTF8 .txt file

Post by fridemar »

Possibly I had a similar problem with importing from a UTF8.txt file, using an IMac (OSX 10.5).
The standard textedit, doesn't use CRLF line endings.

Workaround: Use another texteditor (e.g. the free Textwrangler), that allows specifying CRLF line endings.

Hope that helps.
Let's FosterEachOther ( <- Google )
-- Fridemar
Post Reply