ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

New WINDEV, WEBDEV and WINDEV Mobile 2024 feature!
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
Checks the validity of a UTF-8 string or buffer.
New in version 2024
Android This function is available for Android applications starting with version 2024 Update 1.
Java This function is available for Java applications, starting with version 2024 Update 1.
Android Widget This function is available for Android widgets, starting with version 2024 Update 1.
Example
// Test: Valid UTF-8 string?
IF UTF8Valid(sUTF8) THEN
	// Yes => Convert to UNICODE
	sUNICODE is UNICODE string = UTF8ToString(sUTF8)
	...
END
Syntax
<Result> = UTF8Valid(<String to check>)
<Result>: Boolean
  • True if the UTF-8 string is valid,
  • False otherwise.
<String to check>: Character string or Buffer
ANSI string or buffer containing UTF-8 data.
Component: wd290vm.dll
Minimum version required
  • Version 2024
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/28/2024

Send a report | Local help