Skip to main content

Problem:

A customer in Brazil had a Character Dialog screen set with a field that converted automatically to upper case. However the characters 'áéíóú' were converted to 'áéí??' (the last two characters are box-drawing ones that do not display correctly with this software). Why did this happen?

Resolution:

The Windows API used by the runtime system in CBL_TOUPPER uses the Windows (ANSI) character set rather than OEM by default. In order to get the required conversion the customer needs to call PC_WIN_SET_CHARSET to get an OEM conversion. Details of this API are in the Net Express documentation.  

Old KB# 4227