Conversion characters CP852 -> Polish characters

markosx
markosx Member Posts: 8
Hi
I'm new and I learn Navision
How to convert characters from the CP852 to the Polish characters (ó ś ż and others) by the data export dataport, please HELP or examples.

Markos

Comments

  • kine
    kine Member Posts: 12,562
    Check the download section for ASCII converter. There are examples how to transcode the texts...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • markosx
    markosx Member Posts: 8
    Hi,
    I'm so new to the forum and Navision that I can not find ](*,)
    Can you help? [-o<
  • markosx
    markosx Member Posts: 8
    unfortunately,

    1.I have: łóżąśćńę
    2.from nav after export dataport: ˆ˘ľĄ˜†ä©
    3 after ansi-ascii conv.fob i have :ęóĄŃ˙ĺő®

    1 <>3 :(

    I will try to invent something
  • kine
    kine Member Posts: 12,562
    I do not know which you have sued, some examples have "selection" of which codepage you are using or are using different codepage to transform the data than you need. Use them as base to make your own translation...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • markosx
    markosx Member Posts: 8
    I needs finished code, do not do it alone
    Now I have this:

    Ascii2Ansi(_String : Text[1024]) : Text[1024]
    //Converts from ASCII to ANSI

    EXIT(CONVERTSTR(_String,'óęćń','ˇŕŠ˝'));

    I do not know how to map: ł ż ś and uppercase letters
    I can not do it ](*,)
    Does anyone have any ready solution or can write? [-o<