Special characters in a text constant (NAV 2009 R2)

poppinspoppins Member Posts: 647
Hi everyone,

I am trying to create a text constant with some special characters like ä or ü.
The thing is when I try to type a special character, for example ä in its caption value(DEU=ä...), it is changed automatically to ae after I save it.
I need to print this text in a classic report.
What shall I do to keep the special characters?

Thanks in advance :smile:

Answers

  • nedimyaminedimyami Member Posts: 16
    hi,
    Convert your special ascıı characters to ansii before you run classic report.
    Assign your 'ä' character(ascıı code) to a char variable. and use convertstr function.
    for example,

    ConvertSTR(text,'ä',CharVar)
    text --> which include ä charcter in text
    charvar --> assigned ascii code for ä(ascıı code is 228)
  • KowaKowa Member Posts: 923
    edited 2016-09-22
    In my region (Western Europe) NAV has no problems with these characters. These are included both in DOS code page 850 (which NAV uses internally) and Windows (ANSI) code page 1252.
    https://msdn.microsoft.com/de-de/library/windows/desktop/dd317756(v=vs.85).aspx
    Which part of the world are you from? What code page is set in the OS for non-unicode text files?
    Kai Kowalewski
Sign In or Register to comment.