# HB_ANSITOOEM()

Convert a windows Character to a Dos based character

Syntax

  HB_ANSITOOEM( <cString> ) --> cDosString

Arguments

  <cString> Windows ansi string to convert to DOS oem String

Returns

  <cDosString> Dos based string

Description

  This function converts each character in <cString> to the corresponding character in the MS-DOS (OEM) character set. The character expression <cString> should contain characters from the ANSI character set. If a character in <cString> doesn't have a MS-DOS equivalent, the character is converted to a similar MS-DOS character.

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

- HB_OEMTOANSI()