Hello,
I'm exporting data to a text file via a dataport.
The Text file looks like that:
TEXT;TEXT;TEXT;TEXT;TEXT
But the data looks like the "é" letters are substuted by Š
The exported File looks like that:
TEXTŠTEXT;TEXT;TEXTŠTEXT
Can anyone help me?
Thanks.
Regards
Hanen TALBI
0
Comments
http://www.mibuso.com/dlinfo.asp?FileID=1096
http://www.mibuso.com/dlinfo.asp?FileID=287
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Hanen TALBI
We import cust addresses into a variable
Global
SpecialChars-> Codeunit-> Ascii2Ansi (from download)
Cust_Address1->Text->size100
Cust_Address2->Text->size100
//So we import our variable address's, check it for special charaters & make it uppercase all in one shot.
OnAfterImportRecord()
"Sales Header"."Ship-to Address" := UPPERCASE(SpecialChars.Ansi2Ascii(Cust_Address1));
"Sales Header"."Ship-to Address 2" := UPPERCASE(SpecialChars.Ansi2Ascii(Cust_Address2));
You will obviousle switch this around for exporting & use OnAfterExportRecord.
But it turns out there are so many special characters for so many countries & languages that we finally went with the Registry change discussed here:
viewtopic.php?f=23&t=43099
http://www.BiloBeauty.com
http://www.autismspeaks.org