PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
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 an OEM string (DOS) to an ANSI string (Windows). Accented characters are different in both standards. The conversion consists in modifying the accented characters.
Reminder:
  • ANSI is the character set used in Windows.
  • OEM is the character set used in DOS (or Windows console).
Versions 24 and later
WEBDEV - Server codeLinux This function is now available for WEBDEV sites in Linux.
WEBDEV - Server codeWindows This function is now available for WEBDEV sites in Windows.
New in version 24
WEBDEV - Server codeLinux This function is now available for WEBDEV sites in Linux.
WEBDEV - Server codeWindows This function is now available for WEBDEV sites in Windows.
WEBDEV - Server codeLinux This function is now available for WEBDEV sites in Linux.
WEBDEV - Server codeWindows This function is now available for 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
ANSI string.
<OEM character string>: Character string
OEM string format to be converted.
Remarks
  • OemToAnsi does not convert characters with an ASCII code between 0 and 31 (control characters).
  • Caution: OemToAnsi must not be used with a character string containing OEM special characters (accented characters): these characters will be converted and the result will be incorrect.
Component : wd260vm.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment