PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
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 a UTF-8 string to ANSI.
Versions 21 and later
Apple Watch This function is now available in Apple Watch mode.
WEBDEV - Server codePHP This function is now available for PHP sites.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Apple Watch This function is now available in Apple Watch mode.
WEBDEV - Server codePHP This function is now available for PHP sites.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Apple Watch This function is now available in Apple Watch mode.
WEBDEV - Server codePHP This function is now available for PHP sites.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
sChaîne is string = "Antananarivo"
// Conversion en chaîne ANSI
sChaîneAnsi is string ANSI = UTF8ToAnsi(sChaîne)
Syntax
<Result> = UTF8ToAnsi(<UTF-8 string to convert> [, <Destination charset>])
<Result>: Character string
ANSI character string.
<UTF-8 string to convert>: Character string
String to convert. This character string is not modified.
<Destination charset>: Optional integer
Character set that will be used to create the string. By default, this parameter corresponds to the current character set (specified with ChangeCharset).
charsetAnsiRoman characters in ANSI standard.
charsetArabicArabic characters.
charsetBalticBaltic characters.
charsetChineseChinese characters (People's Republic of China).
charsetTraditionalChineseTraditional Chinese characters (Republic of Taiwan).
charsetKoreanKorean characters.
charsetCurrent
(Default value)
Uses the current character set specified with ChangeCharset (charsetOccidental by default).
charsetDefaultUses the computer's default character set. No character set is forced.
charsetEastEuropeEastern European characters (Polish, ...).
charsetGreekGreek characters.
charsetHebrewHebrew characters.
charsetJapaneseJapanese characters.
charsetRussianRussian characters.
charsetThaiThai characters.
charsetTurkishTurkish characters.
charsetUTF8Used to manage UTF-8 (used in XML, for example).
charsetVietnameseVietnamese characters.
Component: wd270vm.dll
Minimum version required
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment