Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
RiscOS
S
Sources
Lib
UnicodeLib
Commits
e487a05f
Commit
e487a05f
authored
27 years ago
by
Simon Middleton
Browse files
Options
Download
Email Patches
Plain Diff
Changed default language for Unicode encodings to be ANY rather than english.
Version 0.09. Tagged as 'Unicode-0_09'
parent
67178217
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
9 deletions
+11
-9
VersionNum
VersionNum
+5
-5
c/encoding
c/encoding
+6
-4
No files found.
VersionNum
View file @
e487a05f
/* (0.0
8
)
/* (0.0
9
)
*
*
* This file is automatically maintained by srccommit, do not edit manually.
* This file is automatically maintained by srccommit, do not edit manually.
*
*
*/
*/
#define Module_MajorVersion_CMHG 0.0
8
#define Module_MajorVersion_CMHG 0.0
9
#define Module_MinorVersion_CMHG
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 0
8
Dec 1997
#define Module_Date_CMHG
1
0 Dec 1997
#define Module_MajorVersion "0.0
8
"
#define Module_MajorVersion "0.0
9
"
#define Module_MinorVersion ""
#define Module_MinorVersion ""
#define Module_Date "0
8
Dec 1997"
#define Module_Date "
1
0 Dec 1997"
This diff is collapsed.
Click to expand it.
c/encoding
View file @
e487a05f
...
@@ -53,6 +53,8 @@ static char version[] = "Unicode library " Module_MajorVersion " " Module_Date "
...
@@ -53,6 +53,8 @@ static char version[] = "Unicode library " Module_MajorVersion " " Module_Date "
#define ENC_iso2022_shifts 11
#define ENC_iso2022_shifts 11
#define ENC_acorn 12
#define ENC_acorn 12
#define lang_ANY ""
static
EncList
enclist
[]
=
static
EncList
enclist
[]
=
{
{
{
csASCII
/* 3 */
,
1
,
"/US-ASCII/"
,
lang_ENGLISH
,
(
EncodingPriv
*
)
ENC_ascii
,
NULL
},
{
csASCII
/* 3 */
,
1
,
"/US-ASCII/"
,
lang_ENGLISH
,
(
EncodingPriv
*
)
ENC_ascii
,
NULL
},
...
@@ -101,10 +103,10 @@ static EncList enclist[] =
...
@@ -101,10 +103,10 @@ static EncList enclist[] =
"
\x1B\x24\x28\x44
"
},
"
\x1B\x24\x28\x44
"
},
{
csISO2022CN
/* 104 */
,
0
,
"/ISO-2022-CN/"
,
lang_CHINESE
,
(
EncodingPriv
*
)
ENC_iso2022
},
{
csISO2022CN
/* 104 */
,
0
,
"/ISO-2022-CN/"
,
lang_CHINESE
,
(
EncodingPriv
*
)
ENC_iso2022
},
{
csISO2022CN_EXT
/* 105 */
,
0
,
"/ISO-2022-CN-EXT/"
,
lang_CHINESE
,
(
EncodingPriv
*
)
ENC_iso2022
},
{
csISO2022CN_EXT
/* 105 */
,
0
,
"/ISO-2022-CN-EXT/"
,
lang_CHINESE
,
(
EncodingPriv
*
)
ENC_iso2022
},
{
csUTF8
/* 106 */
,
6
,
"/UTF-8/UNICODE-1-1-UTF-8/UNICODE-2-0-UTF-8/"
,
lang_
ENGLISH
,
(
EncodingPriv
*
)
ENC_utf8
},
/* More general!!! */
{
csUTF8
/* 106 */
,
6
,
"/UTF-8/UNICODE-1-1-UTF-8/UNICODE-2-0-UTF-8/"
,
lang_
ANY
,
(
EncodingPriv
*
)
ENC_utf8
},
/* More general!!! */
{
csUCS4
/* 1001 */
,
4
,
"/ISO-10646-UCS-4/UCS-4/"
,
lang_
ENGLISH
,
(
EncodingPriv
*
)
ENC_ucs4
},
{
csUCS4
/* 1001 */
,
4
,
"/ISO-10646-UCS-4/UCS-4/"
,
lang_
ANY
,
(
EncodingPriv
*
)
ENC_ucs4
},
{
csUnicode11
/* 1010 */
,
8
,
"/UCS-2/UTF-16/ISO-10646-UCS-2/UNICODE-1-1/UNICODE-2-0/"
,
lang_
ENGLISH
,
(
EncodingPriv
*
)
ENC_utf16
},
/* More general!!! */
{
csUnicode11
/* 1010 */
,
8
,
"/UCS-2/UTF-16/ISO-10646-UCS-2/UNICODE-1-1/UNICODE-2-0/"
,
lang_
ANY
,
(
EncodingPriv
*
)
ENC_utf16
},
/* More general!!! */
{
2022
,
0
,
"/ISO-2022/"
,
lang_
ENGLISH
,
(
EncodingPriv
*
)
ENC_iso2022
},
{
2022
,
0
,
"/ISO-2022/"
,
lang_
ANY
,
(
EncodingPriv
*
)
ENC_iso2022
},
{
csGB2312
/* 2025 */
,
2
,
"/X-EUC_CN/GB2312/CN-GB/GB_2312-80"
,
lang_CHINESE
,
(
EncodingPriv
*
)
ENC_iso2022_euc
,
{
csGB2312
/* 2025 */
,
2
,
"/X-EUC_CN/GB2312/CN-GB/GB_2312-80"
,
lang_CHINESE
,
(
EncodingPriv
*
)
ENC_iso2022_euc
,
"
\x1B\x24\x29\x41
"
},
/* Select G1 = GB 2312-80 */
"
\x1B\x24\x29\x41
"
},
/* Select G1 = GB 2312-80 */
{
csBig5
/* 2026 */
,
2
,
"/CN-BIG5/BIG5/"
,
lang_CHINESE
,
(
EncodingPriv
*
)
ENC_bigfive
},
{
csBig5
/* 2026 */
,
2
,
"/CN-BIG5/BIG5/"
,
lang_CHINESE
,
(
EncodingPriv
*
)
ENC_bigfive
},
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment