mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-05 18:16:23 +03:00
- Add support for converting from CP850 to UTF-8 and UTF-8 to CP850; - Add support for reading STEP file encoding by cp850 code page.
702 lines
19 KiB
Plaintext
702 lines
19 KiB
Plaintext
// Copyright (c) 2020 OPEN CASCADE SAS
|
|
//
|
|
// This file is part of Open CASCADE Technology software library.
|
|
//
|
|
// This library is free software; you can redistribute it and/or modify it under
|
|
// the terms of the GNU Lesser General Public License version 2.1 as published
|
|
// by the Free Software Foundation, with special exception defined in the file
|
|
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
|
// distribution for complete text of the license and disclaimer of any warranty.
|
|
//
|
|
// Alternatively, this file may be used under the terms of Open CASCADE
|
|
// commercial license or contractual agreement.
|
|
|
|
#include <Standard_TypeDef.hxx>
|
|
|
|
// Code pages ANSI -> UTF16
|
|
static const Standard_ExtCharacter THE_CODEPAGES_ANSI[Resource_FormatType_CP850 - Resource_FormatType_CP1250 + 1][128] =
|
|
{
|
|
{
|
|
// code page: cp1250
|
|
0x20ac, 0x81, 0x201a, 0x83,
|
|
0x201e, 0x2026, 0x2020, 0x2021,
|
|
0x88, 0x2030, 0x160, 0x2039,
|
|
0x15a, 0x164, 0x17d, 0x179,
|
|
0x90, 0x2018, 0x2019, 0x201c,
|
|
0x201d, 0x2022, 0x2013, 0x2014,
|
|
0x98, 0x2122, 0x161, 0x203a,
|
|
0x15b, 0x165, 0x17e, 0x17a,
|
|
0xa0, 0x2c7, 0x2d8, 0x141,
|
|
0xa4, 0x104, 0xa6, 0xa7,
|
|
0xa8, 0xa9, 0x15e, 0xab,
|
|
0xac, 0xad, 0xae, 0x17b,
|
|
0xb0, 0xb1, 0x2db, 0x142,
|
|
0xb4, 0xb5, 0xb6, 0xb7,
|
|
0xb8, 0x105, 0x15f, 0xbb,
|
|
0x13d, 0x2dd, 0x13e, 0x17c,
|
|
0x154, 0xc1, 0xc2, 0x102,
|
|
0xc4, 0x139, 0x106, 0xc7,
|
|
0x10c, 0xc9, 0x118, 0xcb,
|
|
0x11a, 0xcd, 0xce, 0x10e,
|
|
0x110, 0x143, 0x147, 0xd3,
|
|
0xd4, 0x150, 0xd6, 0xd7,
|
|
0x158, 0x16e, 0xda, 0x170,
|
|
0xdc, 0xdd, 0x162, 0xdf,
|
|
0x155, 0xe1, 0xe2, 0x103,
|
|
0xe4, 0x13a, 0x107, 0xe7,
|
|
0x10d, 0xe9, 0x119, 0xeb,
|
|
0x11b, 0xed, 0xee, 0x10f,
|
|
0x111, 0x144, 0x148, 0xf3,
|
|
0xf4, 0x151, 0xf6, 0xf7,
|
|
0x159, 0x16f, 0xfa, 0x171,
|
|
0xfc, 0xfd, 0x163, 0x2d9
|
|
},
|
|
|
|
{
|
|
// code page: cp1251
|
|
0x402, 0x403, 0x201a, 0x453,
|
|
0x201e, 0x2026, 0x2020, 0x2021,
|
|
0x20ac, 0x2030, 0x409, 0x2039,
|
|
0x40a, 0x40c, 0x40b, 0x40f,
|
|
0x452, 0x2018, 0x2019, 0x201c,
|
|
0x201d, 0x2022, 0x2013, 0x2014,
|
|
0x98, 0x2122, 0x459, 0x203a,
|
|
0x45a, 0x45c, 0x45b, 0x45f,
|
|
0xa0, 0x40e, 0x45e, 0x408,
|
|
0xa4, 0x490, 0xa6, 0xa7,
|
|
0x401, 0xa9, 0x404, 0xab,
|
|
0xac, 0xad, 0xae, 0x407,
|
|
0xb0, 0xb1, 0x406, 0x456,
|
|
0x491, 0xb5, 0xb6, 0xb7,
|
|
0x451, 0x2116, 0x454, 0xbb,
|
|
0x458, 0x405, 0x455, 0x457,
|
|
0x410, 0x411, 0x412, 0x413,
|
|
0x414, 0x415, 0x416, 0x417,
|
|
0x418, 0x419, 0x41a, 0x41b,
|
|
0x41c, 0x41d, 0x41e, 0x41f,
|
|
0x420, 0x421, 0x422, 0x423,
|
|
0x424, 0x425, 0x426, 0x427,
|
|
0x428, 0x429, 0x42a, 0x42b,
|
|
0x42c, 0x42d, 0x42e, 0x42f,
|
|
0x430, 0x431, 0x432, 0x433,
|
|
0x434, 0x435, 0x436, 0x437,
|
|
0x438, 0x439, 0x43a, 0x43b,
|
|
0x43c, 0x43d, 0x43e, 0x43f,
|
|
0x440, 0x441, 0x442, 0x443,
|
|
0x444, 0x445, 0x446, 0x447,
|
|
0x448, 0x449, 0x44a, 0x44b,
|
|
0x44c, 0x44d, 0x44e, 0x44f
|
|
},
|
|
|
|
{
|
|
// code page: cp1252
|
|
0x20ac, 0x81, 0x201a, 0x192,
|
|
0x201e, 0x2026, 0x2020, 0x2021,
|
|
0x2c6, 0x2030, 0x160, 0x2039,
|
|
0x152, 0x8d, 0x17d, 0x8f,
|
|
0x90, 0x2018, 0x2019, 0x201c,
|
|
0x201d, 0x2022, 0x2013, 0x2014,
|
|
0x2dc, 0x2122, 0x161, 0x203a,
|
|
0x153, 0x9d, 0x17e, 0x178,
|
|
0xa0, 0xa1, 0xa2, 0xa3,
|
|
0xa4, 0xa5, 0xa6, 0xa7,
|
|
0xa8, 0xa9, 0xaa, 0xab,
|
|
0xac, 0xad, 0xae, 0xaf,
|
|
0xb0, 0xb1, 0xb2, 0xb3,
|
|
0xb4, 0xb5, 0xb6, 0xb7,
|
|
0xb8, 0xb9, 0xba, 0xbb,
|
|
0xbc, 0xbd, 0xbe, 0xbf,
|
|
0xc0, 0xc1, 0xc2, 0xc3,
|
|
0xc4, 0xc5, 0xc6, 0xc7,
|
|
0xc8, 0xc9, 0xca, 0xcb,
|
|
0xcc, 0xcd, 0xce, 0xcf,
|
|
0xd0, 0xd1, 0xd2, 0xd3,
|
|
0xd4, 0xd5, 0xd6, 0xd7,
|
|
0xd8, 0xd9, 0xda, 0xdb,
|
|
0xdc, 0xdd, 0xde, 0xdf,
|
|
0xe0, 0xe1, 0xe2, 0xe3,
|
|
0xe4, 0xe5, 0xe6, 0xe7,
|
|
0xe8, 0xe9, 0xea, 0xeb,
|
|
0xec, 0xed, 0xee, 0xef,
|
|
0x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cc, 0x3cd, 0x3ce, 0x0
|
|
},
|
|
|
|
{
|
|
// code page: cp1254
|
|
0x20ac, 0x81, 0x201a, 0x192,
|
|
0x201e, 0x2026, 0x2020, 0x2021,
|
|
0x2c6, 0x2030, 0x160, 0x2039,
|
|
0x152, 0x8d, 0x8e, 0x8f,
|
|
0x90, 0x2018, 0x2019, 0x201c,
|
|
0x201d, 0x2022, 0x2013, 0x2014,
|
|
0x2dc, 0x2122, 0x161, 0x203a,
|
|
0x153, 0x9d, 0x9e, 0x178,
|
|
0xa0, 0xa1, 0xa2, 0xa3,
|
|
0xa4, 0xa5, 0xa6, 0xa7,
|
|
0xa8, 0xa9, 0xaa, 0xab,
|
|
0xac, 0xad, 0xae, 0xaf,
|
|
0xb0, 0xb1, 0xb2, 0xb3,
|
|
0xb4, 0xb5, 0xb6, 0xb7,
|
|
0xb8, 0xb9, 0xba, 0xbb,
|
|
0xbc, 0xbd, 0xbe, 0xbf,
|
|
0xc0, 0xc1, 0xc2, 0xc3,
|
|
0xc4, 0xc5, 0xc6, 0xc7,
|
|
0xc8, 0xc9, 0xca, 0xcb,
|
|
0xcc, 0xcd, 0xce, 0xcf,
|
|
0x11e, 0xd1, 0xd2, 0xd3,
|
|
0xd4, 0xd5, 0xd6, 0xd7,
|
|
0xd8, 0xd9, 0xda, 0xdb,
|
|
0xdc, 0x130, 0x15e, 0xdf,
|
|
0xe0, 0xe1, 0xe2, 0xe3,
|
|
0xe4, 0xe5, 0xe6, 0xe7,
|
|
0xe8, 0xe9, 0xea, 0xeb,
|
|
0xec, 0xed, 0xee, 0xef,
|
|
0x11f, 0xf1, 0xf2, 0xf3,
|
|
0xf4, 0xf5, 0xf6, 0xf7,
|
|
0xf8, 0xf9, 0xfa, 0xfb,
|
|
0xfc, 0x131, 0x15f, 0xff
|
|
},
|
|
|
|
{
|
|
// code page: cp1255
|
|
0x20ac, 0x81, 0x201a, 0x192,
|
|
0x201e, 0x2026, 0x2020, 0x2021,
|
|
0x2c6, 0x2030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|
|
0x201d, 0x2022, 0x2013, 0x2014,
|
|
0x6a9, 0x2122, 0x691, 0x203a,
|
|
0x153, 0x200c, 0x200d, 0x6ba,
|
|
0xa0, 0x60c, 0xa2, 0xa3,
|
|
0xa4, 0xa5, 0xa6, 0xa7,
|
|
0xa8, 0xa9, 0x6be, 0xab,
|
|
0xac, 0xad, 0xae, 0xaf,
|
|
0xb0, 0xb1, 0xb2, 0xb3,
|
|
0xb4, 0xb5, 0xb6, 0xb7,
|
|
0xb8, 0xb9, 0x61b, 0xbb,
|
|
0xbc, 0xbd, 0xbe, 0x61f,
|
|
0x6c1, 0x621, 0x622, 0x623,
|
|
0x624, 0x625, 0x626, 0x627,
|
|
0x628, 0x629, 0x62a, 0x62b,
|
|
0x62c, 0x62d, 0x62e, 0x62f,
|
|
0x630, 0x631, 0x632, 0x633,
|
|
0x634, 0x635, 0x636, 0xd7,
|
|
0x637, 0x638, 0x639, 0x63a,
|
|
0x640, 0x641, 0x642, 0x643,
|
|
0xe0, 0x644, 0xe2, 0x645,
|
|
0x646, 0x647, 0x648, 0xe7,
|
|
0xe8, 0xe9, 0xea, 0xeb,
|
|
0x649, 0x64a, 0xee, 0xef,
|
|
0x64b, 0x64c, 0x64d, 0x64e,
|
|
0xf4, 0x64f, 0x650, 0xf7,
|
|
0x651, 0xf9, 0x652, 0xfb,
|
|
0xfc, 0x200e, 0x200f, 0x6d2
|
|
},
|
|
|
|
{
|
|
// code page: cp1257
|
|
0x20ac, 0x81, 0x201a, 0x83,
|
|
0x201e, 0x2026, 0x2020, 0x2021,
|
|
0x88, 0x2030, 0x8a, 0x2039,
|
|
0x8c, 0xa8, 0x2c7, 0xb8,
|
|
0x90, 0x2018, 0x2019, 0x201c,
|
|
0x201d, 0x2022, 0x2013, 0x2014,
|
|
0x98, 0x2122, 0x9a, 0x203a,
|
|
0x9c, 0xaf, 0x2db, 0x9f,
|
|
0xa0, 0x0, 0xa2, 0xa3,
|
|
0xa4, 0x0, 0xa6, 0xa7,
|
|
0xd8, 0xa9, 0x156, 0xab,
|
|
0xac, 0xad, 0xae, 0xc6,
|
|
0xb0, 0xb1, 0xb2, 0xb3,
|
|
0xb4, 0xb5, 0xb6, 0xb7,
|
|
0xf8, 0xb9, 0x157, 0xbb,
|
|
0xbc, 0xbd, 0xbe, 0xe6,
|
|
0x104, 0x12e, 0x100, 0x106,
|
|
0xc4, 0xc5, 0x118, 0x112,
|
|
0x10c, 0xc9, 0x179, 0x116,
|
|
0x122, 0x136, 0x12a, 0x13b,
|
|
0x160, 0x143, 0x145, 0xd3,
|
|
0x14c, 0xd5, 0xd6, 0xd7,
|
|
0x172, 0x141, 0x15a, 0x16a,
|
|
0xdc, 0x17b, 0x17d, 0xdf,
|
|
0x105, 0x12f, 0x101, 0x107,
|
|
0xe4, 0xe5, 0x119, 0x113,
|
|
0x10d, 0xe9, 0x17a, 0x117,
|
|
0x123, 0x137, 0x12b, 0x13c,
|
|
0x161, 0x144, 0x146, 0xf3,
|
|
0x14d, 0xf5, 0xf6, 0xf7,
|
|
0x173, 0x142, 0x15b, 0x16b,
|
|
0xfc, 0x17c, 0x17e, 0x2d9
|
|
},
|
|
|
|
{
|
|
// code page: cp1258
|
|
0x20ac, 0x81, 0x201a, 0x192,
|
|
0x201e, 0x2026, 0x2020, 0x2021,
|
|
0x2c6, 0x2030, 0x8a, 0x2039,
|
|
0x152, 0x8d, 0x8e, 0x8f,
|
|
0x90, 0x2018, 0x2019, 0x201c,
|
|
0x201d, 0x2022, 0x2013, 0x2014,
|
|
0x2dc, 0x2122, 0x9a, 0x203a,
|
|
0x153, 0x9d, 0x9e, 0x178,
|
|
0xa0, 0xa1, 0xa2, 0xa3,
|
|
0xa4, 0xa5, 0xa6, 0xa7,
|
|
0xa8, 0xa9, 0xaa, 0xab,
|
|
0xac, 0xad, 0xae, 0xaf,
|
|
0xb0, 0xb1, 0xb2, 0xb3,
|
|
0xb4, 0xb5, 0xb6, 0xb7,
|
|
0xb8, 0xb9, 0xba, 0xbb,
|
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,
|
|
0xd0, 0xd1, 0xd2, 0xd3,
|
|
0xd4, 0xd5, 0xd6, 0xd7,
|
|
0xd8, 0xd9, 0xda, 0xdb,
|
|
0xdc, 0xdd, 0xde, 0xdf,
|
|
0xe0, 0xe1, 0xe2, 0xe3,
|
|
0xe4, 0xe5, 0xe6, 0xe7,
|
|
0xe8, 0xe9, 0xea, 0xeb,
|
|
0xec, 0xed, 0xee, 0xef,
|
|
0xf0, 0xf1, 0xf2, 0xf3,
|
|
0xf4, 0xf5, 0xf6, 0xf7,
|
|
0xf8, 0xf9, 0xfa, 0xfb,
|
|
0xfc, 0xfd, 0xfe, 0xff
|
|
},
|
|
|
|
{
|
|
// code page: ISO 8859-2
|
|
0x80, 0x81, 0x82, 0x83,
|
|
0x84, 0x85, 0x86, 0x87,
|
|
0x88, 0x89, 0x8a, 0x8b,
|
|
0x8c, 0x8d, 0x8e, 0x8f,
|
|
0x90, 0x91, 0x92, 0x93,
|
|
0x94, 0x95, 0x96, 0x97,
|
|
0x98, 0x99, 0x9a, 0x9b,
|
|
0x9c, 0x9d, 0x9e, 0x9f,
|
|
0xa0, 0x104, 0x2d8, 0x141,
|
|
0xa4, 0x13d, 0x15a, 0xa7,
|
|
0xa8, 0x160, 0x15e, 0x164,
|
|
0x179, 0xad, 0x17d, 0x17b,
|
|
0xb0, 0x105, 0x2db, 0x142,
|
|
0xb4, 0x13e, 0x15b, 0x2c7,
|
|
0xb8, 0x161, 0x15f, 0x165,
|
|
0x17a, 0x2dd, 0x17e, 0x17c,
|
|
0x154, 0xc1, 0xc2, 0x102,
|
|
0xc4, 0x139, 0x106, 0xc7,
|
|
0x10c, 0xc9, 0x118, 0xcb,
|
|
0x11a, 0xcd, 0xce, 0x10e,
|
|
0x110, 0x143, 0x147, 0xd3,
|
|
0xd4, 0x150, 0xd6, 0xd7,
|
|
0x158, 0x16e, 0xda, 0x170,
|
|
0xdc, 0xdd, 0x162, 0xdf,
|
|
0x155, 0xe1, 0xe2, 0x103,
|
|
0xe4, 0x13a, 0x107, 0xe7,
|
|
0x10d, 0xe9, 0x119, 0xeb,
|
|
0x11b, 0xed, 0xee, 0x10f,
|
|
0x111, 0x144, 0x148, 0xf3,
|
|
0xf4, 0x151, 0xf6, 0xf7,
|
|
0x159, 0x16f, 0xfa, 0x171,
|
|
0xfc, 0xfd, 0x163, 0x2d9
|
|
},
|
|
|
|
{
|
|
// code page: ISO 8859-3
|
|
0x80, 0x81, 0x82, 0x83,
|
|
0x84, 0x85, 0x86, 0x87,
|
|
0x88, 0x89, 0x8a, 0x8b,
|
|
0x8c, 0x8d, 0x8e, 0x8f,
|
|
0x90, 0x91, 0x92, 0x93,
|
|
0x94, 0x95, 0x96, 0x97,
|
|
0x98, 0x99, 0x9a, 0x9b,
|
|
0x9c, 0x9d, 0x9e, 0x9f,
|
|
0xa0, 0x126, 0x2d8, 0xa3,
|
|
0xa4, 0x0, 0x124, 0xa7,
|
|
0xa8, 0x130, 0x15e, 0x11e,
|
|
0x134, 0xad, 0x0, 0x17b,
|
|
0xb0, 0x127, 0xb2, 0xb3,
|
|
0xb4, 0xb5, 0x125, 0xb7,
|
|
0xb8, 0x131, 0x15f, 0x11f,
|
|
0x135, 0xbd, 0x0, 0x17c,
|
|
0xc0, 0xc1, 0xc2, 0x0,
|
|
0xc4, 0x10a, 0x108, 0xc7,
|
|
0xc8, 0xc9, 0xca, 0xcb,
|
|
0xcc, 0xcd, 0xce, 0xcf,
|
|
0x0, 0xd1, 0xd2, 0xd3,
|
|
0xd4, 0x120, 0xd6, 0xd7,
|
|
0x11c, 0xd9, 0xda, 0xdb,
|
|
0xdc, 0x16c, 0x15c, 0xdf,
|
|
0xe0, 0xe1, 0xe2, 0x0,
|
|
0xe4, 0x10b, 0x109, 0xe7,
|
|
0xe8, 0xe9, 0xea, 0xeb,
|
|
0xec, 0xed, 0xee, 0xef,
|
|
0x0, 0xf1, 0xf2, 0xf3,
|
|
0xf4, 0x121, 0xf6, 0xf7,
|
|
0x11d, 0xf9, 0xfa, 0xfb,
|
|
0xfc, 0x16d, 0x15d, 0x2d9
|
|
},
|
|
|
|
{
|
|
// code page: ISO 8859-4
|
|
0x80, 0x81, 0x82, 0x83,
|
|
0x84, 0x85, 0x86, 0x87,
|
|
0x88, 0x89, 0x8a, 0x8b,
|
|
0x8c, 0x8d, 0x8e, 0x8f,
|
|
0x90, 0x91, 0x92, 0x93,
|
|
0x94, 0x95, 0x96, 0x97,
|
|
0x98, 0x99, 0x9a, 0x9b,
|
|
0x9c, 0x9d, 0x9e, 0x9f,
|
|
0xa0, 0x104, 0x138, 0x156,
|
|
0xa4, 0x128, 0x13b, 0xa7,
|
|
0xa8, 0x160, 0x112, 0x122,
|
|
0x166, 0xad, 0x17d, 0xaf,
|
|
0xb0, 0x105, 0x2db, 0x157,
|
|
0xb4, 0x129, 0x13c, 0x2c7,
|
|
0xb8, 0x161, 0x113, 0x123,
|
|
0x167, 0x14a, 0x17e, 0x14b,
|
|
0x100, 0xc1, 0xc2, 0xc3,
|
|
0xc4, 0xc5, 0xc6, 0x12e,
|
|
0x10c, 0xc9, 0x118, 0xcb,
|
|
0x116, 0xcd, 0xce, 0x12a,
|
|
0x110, 0x145, 0x14c, 0x136,
|
|
0xd4, 0xd5, 0xd6, 0xd7,
|
|
0xd8, 0x172, 0xda, 0xdb,
|
|
0xdc, 0x168, 0x16a, 0xdf,
|
|
0x101, 0xe1, 0xe2, 0xe3,
|
|
0xe4, 0xe5, 0xe6, 0x12f,
|
|
0x10d, 0xe9, 0x119, 0xeb,
|
|
0x117, 0xed, 0xee, 0x12b,
|
|
0x111, 0x146, 0x14d, 0x137,
|
|
0xf4, 0xf5, 0xf6, 0xf7,
|
|
0xf8, 0x173, 0xfa, 0xfb,
|
|
0xfc, 0x169, 0x16b, 0x2d9
|
|
},
|
|
|
|
{
|
|
// code page: ISO 8859-5
|
|
0x80, 0x81, 0x82, 0x83,
|
|
0x84, 0x85, 0x86, 0x87,
|
|
0x88, 0x89, 0x8a, 0x8b,
|
|
0x8c, 0x8d, 0x8e, 0x8f,
|
|
0x90, 0x91, 0x92, 0x93,
|
|
0x94, 0x95, 0x96, 0x97,
|
|
0x98, 0x99, 0x9a, 0x9b,
|
|
0x9c, 0x9d, 0x9e, 0x9f,
|
|
0xa0, 0x401, 0x402, 0x403,
|
|
0x404, 0x405, 0x406, 0x407,
|
|
0x408, 0x409, 0x40a, 0x40b,
|
|
0x40c, 0xad, 0x40e, 0x40f,
|
|
0x410, 0x411, 0x412, 0x413,
|
|
0x414, 0x415, 0x416, 0x417,
|
|
0x418, 0x419, 0x41a, 0x41b,
|
|
0x41c, 0x41d, 0x41e, 0x41f,
|
|
0x420, 0x421, 0x422, 0x423,
|
|
0x424, 0x425, 0x426, 0x427,
|
|
0x428, 0x429, 0x42a, 0x42b,
|
|
0x42c, 0x42d, 0x42e, 0x42f,
|
|
0x430, 0x431, 0x432, 0x433,
|
|
0x434, 0x435, 0x436, 0x437,
|
|
0x438, 0x439, 0x43a, 0x43b,
|
|
0x43c, 0x43d, 0x43e, 0x43f,
|
|
0x440, 0x441, 0x442, 0x443,
|
|
0x444, 0x445, 0x446, 0x447,
|
|
0x448, 0x449, 0x44a, 0x44b,
|
|
0x44c, 0x44d, 0x44e, 0x44f,
|
|
0x2116, 0x451, 0x452, 0x453,
|
|
0x454, 0x455, 0x456, 0x457,
|
|
0x458, 0x459, 0x45a, 0x45b,
|
|
0x45c, 0xa7, 0x45e, 0x45f
|
|
},
|
|
|
|
{
|
|
// code page: ISO 8859-6
|
|
0x80, 0x81, 0x82, 0x83,
|
|
0x84, 0x85, 0x86, 0x87,
|
|
0x88, 0x89, 0x8a, 0x8b,
|
|
0x8c, 0x8d, 0x8e, 0x8f,
|
|
0x90, 0x91, 0x92, 0x93,
|
|
0x94, 0x95, 0x96, 0x97,
|
|
0x98, 0x99, 0x9a, 0x9b,
|
|
0x9c, 0x9d, 0x9e, 0x9f,
|
|
0xa0, 0x0, 0x0, 0x0,
|
|
0xa4, 0x0, 0x0, 0x0,
|
|
0x0, 0x0, 0x0, 0x0,
|
|
0x60c, 0xad, 0x0, 0x0,
|
|
0x0, 0x0, 0x0, 0x0,
|
|
0x0, 0x0, 0x0, 0x0,
|
|
0x0, 0x0, 0x0, 0x61b,
|
|
0x0, 0x0, 0x0, 0x61f,
|
|
0x0, 0x621, 0x622, 0x623,
|
|
0x624, 0x625, 0x626, 0x627,
|
|
0x628, 0x629, 0x62a, 0x62b,
|
|
0x62c, 0x62d, 0x62e, 0x62f,
|
|
0x630, 0x631, 0x632, 0x633,
|
|
0x634, 0x635, 0x636, 0x637,
|
|
0x638, 0x639, 0x63a, 0x0,
|
|
0x0, 0x0, 0x0, 0x0,
|
|
0x640, 0x641, 0x642, 0x643,
|
|
0x644, 0x645, 0x646, 0x647,
|
|
0x648, 0x649, 0x64a, 0x64b,
|
|
0x64c, 0x64d, 0x64e, 0x64f,
|
|
0x650, 0x651, 0x652, 0x0,
|
|
0x0, 0x0, 0x0, 0x0,
|
|
0x0, 0x0, 0x0, 0x0,
|
|
0x0, 0x0, 0x0, 0x0
|
|
},
|
|
|
|
{
|
|
// code page: ISO 8859-7
|
|
0x80, 0x81, 0x82, 0x83,
|
|
0x84, 0x85, 0x86, 0x87,
|
|
0x88, 0x89, 0x8a, 0x8b,
|
|
0x8c, 0x8d, 0x8e, 0x8f,
|
|
0x90, 0x91, 0x92, 0x93,
|
|
0x94, 0x95, 0x96, 0x97,
|
|
0x98, 0x99, 0x9a, 0x9b,
|
|
0x9c, 0x9d, 0x9e, 0x9f,
|
|
0xa0, 0x2018, 0x2019, 0xa3,
|
|
0x0, 0x0, 0xa6, 0xa7,
|
|
0xa8, 0xa9, 0x0, 0xab,
|
|
0xac, 0xad, 0x0, 0x2015,
|
|
0xb0, 0xb1, 0xb2, 0xb3,
|
|
0x384, 0x385, 0x386, 0xb7,
|
|
0x388, 0x389, 0x38a, 0xbb,
|
|
0x38c, 0xbd, 0x38e, 0x38f,
|
|
0x390, 0x391, 0x392, 0x393,
|
|
0x394,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