CHRTOOEM$ function  

Purpose

Translates a string of ANSI/WIDE characters to OEM byte characters.

Syntax

o$ = ChrToOem$(AnsiOrWide$)

Remarks

AnsiOrWide$ contains a series of ANSI characters or WIDE (16-bit) characters,  ChrToOem$ translates it into OEM byte characters.

See also

OemToChr$, ChrToUtf8$, Utf8ToChr$