Upgrade for Unicode Version 8.0.0.

This commit is contained in:
GoldenCrystal
2015-07-19 01:56:28 +02:00
parent a429d83bdb
commit 07b4086423
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -44,7 +44,7 @@ namespace System.Unicode
byte formatVersion = reader.ReadByte();
if (formatVersion != 1) throw new InvalidDataException();
if (formatVersion != 2) throw new InvalidDataException();
var fileUnicodeVersion = new Version(reader.ReadUInt16(), reader.ReadByte());
@@ -69,7 +69,7 @@ namespace System.Unicode
unicodeCharacterDataEntries[i] = ReadUnicodeCharacterDataEntry(reader, nameBuffer);
}
var blockEntries = new UnicodeBlock[reader.ReadByte()];
var blockEntries = new UnicodeBlock[reader.ReadUInt16()];
for (i = 0; i < blockEntries.Length; ++i)
{
Binary file not shown.