Sign in Join
Wiki copytemporary

WideChar: what changed

Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.

Title: WideChar

OldNewLine
1+A variable of type **WideChar**, which has a synonym of [[UnicodeChar]] *(type UnicodeChar = WideChar;)* , is exactly 2 bytes in size, and usually contains one Unicode character in UTF-16 encoding. As it is impossible to encode all Unicode code points (a code point normally corresponds to a character) in 2 bytes, two WideChars may be needed to encode a single code point.
2+
3+As of version 3 of Free Pascal, the [[Char]] datatype is a synonym for an [[AnsiChar]]. However, in the future the Free Pascal compiler may consider Char a synonym for WideChar.
4+
5+## See also
6+
7+- [[Character and string types]]
8+
9+---
10+*From the Free Pascal wiki, page "WideChar", as it stood on 2016-07-21 after a change by Arent, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*
11+Category: Data types

Back to history