PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Converts a character string in OEM format (DOS) into a character string in ANSI format (Windows). The accented characters differ in the two standards. The conversion consists in modifying the accented characters.
Reminder:
  • ANSI is the format of characters according to the Windows standard.
  • OEM is the format of characters according to the DOS standard (or the format of the "console" window of Windows).
Versions 24 and later
Windows This function is now available for the WEBDEV sites in Windows.
New in version 24
Windows This function is now available for the WEBDEV sites in Windows.
Windows This function is now available for the WEBDEV sites in Windows.
Example
Str is string
Str = Charact(130) + "t" + Charact(130)  // "été" in OEM
Info(OemToAnsi(Str))
// displays "été" in ANSI in the Windows information window
Syntax
<Result> = OemToAnsi(<OEM Character String>)
<Result>: Ansi character string
Character string in ANSI format.
<OEM Character String>: Character string
Character string in OEM format to convert.
Remarks
  • OemToAnsi does not convert the characters whose ASCII code is included between 0 and 31 (control characters).
  • Caution: OemToAnsi must not be used with a character string containing specific OEM characters (accented characters): these characters will be transformed and the result will be incorrect.
Component : wd250vm.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment