Additional codepages

This commit is contained in:
MarkBaker 2015-11-09 23:33:26 +00:00
parent 84011f8d57
commit 6dc0c1f1b6
2 changed files with 13 additions and 0 deletions

View File

@ -29,6 +29,7 @@ Planned for 1.9
- Bugfix: (MBaker) Work Item GH-554 - Whitespace after toRichTextObject() - Bugfix: (MBaker) Work Item GH-554 - Whitespace after toRichTextObject()
- General: (umpirsky) Work Item GH-548 - Optimize vlookup() sort - General: (umpirsky) Work Item GH-548 - Optimize vlookup() sort
- Feature: (MBaker) - Initial implementation of SUMIFS() function - Feature: (MBaker) - Initial implementation of SUMIFS() function
- Feature: (MBaker) - Additional codepages
2015-04-30 (v1.8.1): 2015-04-30 (v1.8.1):
- Bugfix: (goncons) Work Item GH-397 - Fix for Writing an Open Document cell with non-numeric formula - Bugfix: (goncons) Work Item GH-397 - Fix for Writing an Open Document cell with non-numeric formula

View File

@ -118,18 +118,30 @@ class CodePage
return 'CP950'; // Macintosh Chinese Traditional return 'CP950'; // Macintosh Chinese Traditional
case 10003: case 10003:
return 'CP1361'; // Macintosh Korean return 'CP1361'; // Macintosh Korean
case 10004:
return 'MACARABIC'; // Apple Arabic
case 10005:
return 'MACHEBREW'; // Apple Hebrew
case 10006: case 10006:
return 'MACGREEK'; // Macintosh Greek return 'MACGREEK'; // Macintosh Greek
case 10007: case 10007:
return 'MACCYRILLIC'; // Macintosh Cyrillic return 'MACCYRILLIC'; // Macintosh Cyrillic
case 10008: case 10008:
return 'CP936'; // Macintosh - Simplified Chinese (GB 2312) return 'CP936'; // Macintosh - Simplified Chinese (GB 2312)
case 10010:
return 'MACROMANIA'; // Macintosh Romania
case 10017:
return 'MACUKRAINE'; // Macintosh Ukraine
case 10021:
return 'MACTHAI'; // Macintosh Thai
case 10029: case 10029:
return 'MACCENTRALEUROPE'; // Macintosh Central Europe return 'MACCENTRALEUROPE'; // Macintosh Central Europe
case 10079: case 10079:
return 'MACICELAND'; // Macintosh Icelandic return 'MACICELAND'; // Macintosh Icelandic
case 10081: case 10081:
return 'MACTURKISH'; // Macintosh Turkish return 'MACTURKISH'; // Macintosh Turkish
case 10082:
return 'MACCROATIAN'; // Macintosh Croatian
case 21010: case 21010:
return 'UTF-16LE'; // UTF-16 (BIFF8) This isn't correct, but some Excel writer libraries erroneously use Codepage 21010 for UTF-16LE return 'UTF-16LE'; // UTF-16 (BIFF8) This isn't correct, but some Excel writer libraries erroneously use Codepage 21010 for UTF-16LE
case 32768: case 32768: