Š instead of é french letter!!!!!!

HanenHanen Member Posts: 281
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

Comments

  • krikikriki Member, Moderator Posts: 9,110
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • HanenHanen Member Posts: 281
    Thanks, but how can I use this????? :oops:
    Regards

    Hanen TALBI
  • SavatageSavatage Member Posts: 7,142
    We use it like this ..but for importing but you'll get the idea.
    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
Sign In or Register to comment.