Difference between revisions of "Character and string types"
From Free Pascal wiki
Jump to navigationJump to searchJwdietrich (talk | contribs) (Created page with "Free Pascal supports several types of characters and strings. == AnsiChar == A variable of type AnsiChar is exactly 1 byte in size, and contains one ASCII character. {| cla...") |
Jwdietrich (talk | contribs) |
||
Line 12: | Line 12: | ||
== WideChar == | == WideChar == | ||
− | A variable of type WideChar is exactly 2 bytes in size, and contains one | + | A variable of type WideChar is exactly 2 bytes in size, and contains one [[LCL Unicode Support|Unicode]] character in UTF-16 encoding. |
{| class="wikitable" style="text-align:center;; width:50px" | {| class="wikitable" style="text-align:center;; width:50px" |
Revision as of 15:47, 28 December 2013
Free Pascal supports several types of characters and strings.
AnsiChar
A variable of type AnsiChar is exactly 1 byte in size, and contains one ASCII character.
a |
WideChar
A variable of type WideChar is exactly 2 bytes in size, and contains one Unicode character in UTF-16 encoding.
a |