ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / String functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Converts an ANSI string (Windows) to an OEM string (DOS). 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).
New in version 2024
Android This function is now available for Android applications.
Example
Res is string
ChaîneAConvertir is string ANSI = "Crème brûlée"
Res = AnsiToOem(ChaîneAConvertir)
Syntax
<Result> = AnsiToOem(<String to convert>)
<Result>: OEM character string
OEM character string.
<String to convert>: ANSI character string
ANSI string to convert.
Remarks
  • AnsiToOem does not convert characters with an ASCII code between 0 and 31 (control characters).
  • Caution: Do not use AnsiToOem with a string containing OEM specific characters (accented characters): these characters will be converted and the result will be incorrect.
Component: wd290vm.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 01/30/2024

Send a report | Local help