cpstrnew branch (was Re: [fpc-devel] Freepascal 2.4.0rc1 released)
Graeme Geldenhuys
graeme at mastermaths.co.za
Wed Nov 11 13:56:42 CET 2009
Tomas Hajny wrote:
>
> I'm afraid that your assumption about the number of codepages is
> incorrect. The MIBENUM value defined in list at
> http://www.iana.org/assignments/character-sets goes up to 2059 at the
> moment.
I just double checked. That number is "in theory" only. There are not
nearly that amount in reality.
For example: Below the numbers jump from 119 to 1000, then from 1020 to
2000. So there are HUGE gaps in that theoretical range.
---------------------------------------------
...
Name: KZ-1048
MIBenum: 119
Source: See <http://www.iana.org/assignments/charset-reg/KZ-1048>
[Veremeev, Kikkarin]
Alias: STRK1048-2002
Alias: RK1048
Alias: csKZ1048
Name: ISO-10646-UCS-2
MIBenum: 1000
Source: the 2-octet Basic Multilingual Plane, aka Unicode
this needs to specify network byte order: the standard
does not specify (it is a 16-bit integer space)
Alias: csUnicode
...
---------------------------------------------
Regards,
- Graeme -
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/
More information about the fpc-devel
mailing list