HB_OEMTOANSI()

Convert a DOS(OEM) Character to a WINDOWS (ANSI) based character

Syntax

HB_OEMTOANSI(<cString>) -> cDosString

Arguments

<cString> DOS (OEM) string to convert to WINDOWS (ANSI) String

Returns

<cDosString> WINDOWS based string

Description

This function converts each character in <cString> to the corresponding character in the Windows (ANSI) character set.The character expression <cString> should contain characters from the OEM character set. If a character in <cString> doesn't have a ANSI equivalent, the character is remais the same.
Examples
      ? HB_OEMTOANSI("Harbour")
Status

Ready

Compliance

This function is a Harbour extension

Platforms

This functions work only on Windows Plataform

Files

Library is rtl

See Also