You've already forked linux-packaging-mono
Imported Upstream version 5.12.0.220
Former-commit-id: c477e03582759447177c6d4bf412cd2355aad476
This commit is contained in:
parent
8bd104cef2
commit
8fc30896db
@@ -23,12 +23,15 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
|
||||
Usage: uni2tab
|
||||
|
||||
Required files from ftp.unicode.org: Unihan.txt, CP932.TXT
|
||||
|
||||
*/
|
||||
*
|
||||
* Usage: uni2tab
|
||||
*
|
||||
* Required files from ftp.unicode.org: Unihan.txt, CP932.TXT
|
||||
*
|
||||
* Unihan.txt and CP932.TXT can be found at:
|
||||
* ftp://www.unicode.org/Public/5.0.0/ucd/Unihan.txt
|
||||
* ftp://ftp.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP932.TXT
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
@@ -321,6 +324,13 @@ static void convertSJISLine(char *buf)
|
||||
/* Non-CJK characters within JIS */
|
||||
processJis0208(code, (offset / 94) + 1, (offset % 94) + 1);
|
||||
}
|
||||
else if(code >= 0x00A7 && code <= 0x00F7)
|
||||
{
|
||||
/* Non-CJK characters within JIS for which unicodeToJis should not be
|
||||
* edited. In addition to this, do not track lowJis and highJis. */
|
||||
jisx0208ToUnicode[offset] = (unsigned short)(code & 0xFF);
|
||||
jisx0208ToUnicode[offset + 1] = (((unsigned short)(code & 0x00FF)) >> 8);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user