Home | Sign in | English EN
  • Character strings in mobile
  • Reminder: Character strings in Windows PC
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Stored procedures
2. Handling character strings
Previous pageTable of contentsNext page
Different formats of character strings are available:
  • The UNICODE format is used to describe a very large set of characters by representing each letter on several bytes. All characters of most common character sets are represented in a single set. Each character has a unique identifier. This format is used to simultaneously handle the characters issued from different character sets. The "Unicode" term does not define by itself the method for encoding the characters. Several "transformations" are available for encoding the texts among which the most common are UTF-8 and UTF-16.
  • The ANSI format represents each character on one byte. This format can encode 256 characters in the Indo-European character sets. This format can represent all the character sets. However, a single character set can be used at a time.
Character strings in mobile
Character strings in Windows Mobile
In most cases, the Windows Mobile applications handle the character strings in UNICODE/UTF-16 format. In this format, each character is encoded on 16 bits (2 bytes).
In Windows Mobile, when using text files containing character strings in ANSI format, WINDEV Mobile automatically converts these character strings to UNICODE/UTF-16. This conversion is performed even if the opening of this file in ANSI format is explicitly requested.
This conversion is completely transparent.
Character strings in Android
In Android, the character strings are handled in Unicode/UTF-8 format.
Reminder: Character strings in Windows PC
Windows PC applications handle ANSI or UNICODE strings.
On a PC, text files can be opened in ANSI in UNICODE format. No conversion is performed by default.
The programming of character strings is identical in WINDEV and in WINDEV Mobile (with some exceptions). WINDEV automatically performs the necessary conversions.
Previous pageTable of contentsNext page
This page is also available for…
Click [Add] to post a comment