Home | Sign in | English EN
  • Overview
  • Character strings and text files in Pocket PC
  • Character strings
  • Reminder: Character strings and text files in PC
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Stored procedures
The default format of character strings on PC differs from the default format of character strings on Pocket PC.
On the PCs, character strings in ANSI format are handled by the Windows applications. On the Pocket PCs, the Windows applications for Pocket PC handle character strings in UNICODE format.
What is the Unicode format?
The UNICODE format is used to represent a very large set of characters by representing each letter on 2 bytes. This format can encode 65,536 characters. All the characters found in the 24 most common character sets can be represented in a single set. Each character has a unique identifier. Therefore, characters coming from different character sets can be handled at the same time.
What is the ANSI format?
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 and text files in Pocket PC

Character strings

In most cases, the character strings are handled the same way by the WLanguage functions in WINDEV Mobile and in standard WINDEV. WINDEV Mobile automatically supports the different formats of character strings in a way that is completely transparent for the developer and for the user.
Text files
In Pocket PC, when using text files containing character string in ANSI format, WINDEV automatically converts these character strings to UNICODE format. This conversion is performed even if the opening of this file in ANSI format is explicitly requested. This conversion is completely transparent.
See the help about the function for more details.
Reminder: Character strings and text files in PC
Character strings
By default, the character strings used on a PC are in ANSI format.
Text files
On a PC, the text files can be opened in ANSI format and in UNICODE format. No conversion is performed by default.
Minimum version required
  • Version 9
Click [Add] to post a comment