Тема: Кодировка
Показать сообщение отдельно
Старый 16.01.2004, 11:25   #4  
dumf is offline
dumf
Участник
 
46 / 10 (1) +
Регистрация: 13.12.2001
Адрес: Москва
Вопрос действительно интересный.

вот что я нашел на
http://www.navision.net

1. Hello
I have generate a text file.
This text file is Ok when i look in Microsoft NOTEPAD.
When i import these data with a dataport i have strange caracters like У = а or Ъ = й ...
I think that my text file is not in the good format.
I regenerate the text file.
The text is french (айи..)
Has anybody a solution ?
Thanck you for your help

Didier

2. Posted - 2001 Jul 06 : 12:06:46
--------------------------------------------------------------------------------

Navision are using ASCII as textformat.
Windows are using ANSI.

I have uploaded a CU in downloads section with
function to konvert between ANSI and ASCII, you can
call this from the dataport.

Good luck

3. I don't want to be fussy but let me define the terms:
Both files are ASCII. They only use different character sets.
Windows uses ANSI and Navision uses the old DOS character set which is called OEM.

Thanks Per for providing this codeunit, I don't think I have any customer installation so far where I didn't use a similar conversion tool.

так вот.