Permalink
Browse files

Add complete collation-to-codepage list

  • Loading branch information...
1 parent 36cb355 commit e7d7b5b7757bb142b8a6fa0f0981b1fbdbb1eb78 @patriksimek patriksimek committed Apr 4, 2014
Showing with 109 additions and 31 deletions.
  1. +109 −31 src/collation.coffee
View
@@ -1,32 +1,110 @@
+# http://technet.microsoft.com/en-us/library/aa176553(v=sql.80).aspx
+
exports.codepageByLcid =
- 1025: 'WINDOWS-1256'
- 1029: 'WINDOWS-1250'
- 1030: 'WINDOWS-1252'
- 1032: 'WINDOWS-1253'
- 1033: 'WINDOWS-1252'
- 1034: 'WINDOWS-1252'
- 1035: 'WINDOWS-1252'
- 1036: 'WINDOWS-1252'
- 1037: 'WINDOWS-1255'
- 1038: 'WINDOWS-1250'
- 1039: 'WINDOWS-1252'
- 1045: 'WINDOWS-1250'
- 1048: 'WINDOWS-1250'
- 1049: 'WINDOWS-1251'
- 1050: 'WINDOWS-1250'
- 1051: 'WINDOWS-1250'
- 1052: 'WINDOWS-1250'
- 1054: 'WINDOWS-874'
- 1055: 'WINDOWS-1254'
- 1058: 'WINDOWS-1251'
- 1060: 'WINDOWS-1250'
- 1061: 'WINDOWS-1257'
- 1062: 'WINDOWS-1257'
- 1063: 'WINDOWS-1257'
- 1066: 'WINDOWS-1258'
- 2052: 'WINDOWS-936'
- 3082: 'WINDOWS-1252'
- 66567: 'WINDOWS-1252'
- 66574: 'WINDOWS-1250'
- 66615: 'WINDOWS-1252'
- 133124: 'WINDOWS-936'
+ 0x436: 'CP1252'
+ 0x41C: 'CP1250'
+ 0x401: 'CP1256'
+ 0x801: 'CP1256'
+ 0xC01: 'CP1256'
+ 0x1001: 'CP1256'
+ 0x1401: 'CP1256'
+ 0x1801: 'CP1256'
+ 0x1C01: 'CP1256'
+ 0x2001: 'CP1256'
+ 0x2401: 'CP1256'
+ 0x2801: 'CP1256'
+ 0x2C01: 'CP1256'
+ 0x3001: 'CP1256'
+ 0x3401: 'CP1256'
+ 0x3801: 'CP1256'
+ 0x3C01: 'CP1256'
+ 0x4001: 'CP1256'
+ 0x42D: 'CP1252'
+ 0x423: 'CP1251'
+ 0x402: 'CP1251'
+ 0x403: 'CP1252'
+ 0x30404: 'CP950'
+ 0x404: 'CP950'
+ 0x804: 'CP936'
+ 0x20804: 'CP936'
+ 0x1004: 'CP936'
+ 0x41a: 'CP1250'
+ 0x405: 'CP1250'
+ 0x406: 'CP1252'
+ 0x413: 'CP1252'
+ 0x813: 'CP1252'
+ 0x409: 'CP1252'
+ 0x809: 'CP1252'
+ 0x1009: 'CP1252'
+ 0x1409: 'CP1252'
+ 0xC09: 'CP1252'
+ 0x1809: 'CP1252'
+ 0x1C09: 'CP1252'
+ 0x2409: 'CP1252'
+ 0x2009: 'CP1252'
+ 0x425: 'CP1257'
+ 0x0438: 'CP1252'
+ 0x429: 'CP1256'
+ 0x40B: 'CP1252'
+ 0x40C: 'CP1252'
+ 0x80C: 'CP1252'
+ 0x100C: 'CP1252'
+ 0xC0C: 'CP1252'
+ 0x140C: 'CP1252'
+ 0x10437: 'CP1252'
+ 0x10407: 'CP1252'
+ 0x407: 'CP1252'
+ 0x807: 'CP1252'
+ 0xC07: 'CP1252'
+ 0x1007: 'CP1252'
+ 0x1407: 'CP1252'
+ 0x408: 'CP1253'
+ 0x40D: 'CP1255'
+ 0x439: 'CPUTF8'
+ 0x40E: 'CP1250'
+ 0x104E: 'CP1250'
+ 0x40F: 'CP1252'
+ 0x421: 'CP1252'
+ 0x410: 'CP1252'
+ 0x810: 'CP1252'
+ 0x411: 'CP932'
+ 0x10411: 'CP932'
+ 0x412: 'CP949'
+ 0x412: 'CP949'
+ 0x426: 'CP1257'
+ 0x427: 'CP1257'
+ 0x827: 'CP1257'
+ 0x41C: 'CP1251'
+ 0x414: 'CP1252'
+ 0x814: 'CP1252'
+ 0x415: 'CP1250'
+ 0x816: 'CP1252'
+ 0x416: 'CP1252'
+ 0x418: 'CP1250'
+ 0x419: 'CP1251'
+ 0x81A: 'CP1251'
+ 0xC1A: 'CP1251'
+ 0x41B: 'CP1250'
+ 0x424: 'CP1250'
+ 0x80A: 'CP1252'
+ 0x40A: 'CP1252'
+ 0xC0A: 'CP1252'
+ 0x100A: 'CP1252'
+ 0x140A: 'CP1252'
+ 0x180A: 'CP1252'
+ 0x1C0A: 'CP1252'
+ 0x200A: 'CP1252'
+ 0x240A: 'CP1252'
+ 0x280A: 'CP1252'
+ 0x2C0A: 'CP1252'
+ 0x300A: 'CP1252'
+ 0x340A: 'CP1252'
+ 0x380A: 'CP1252'
+ 0x3C0A: 'CP1252'
+ 0x400A: 'CP1252'
+ 0x41D: 'CP1252'
+ 0x41E: 'CP874'
+ 0x41F: 'CP1254'
+ 0x422: 'CP1251'
+ 0x420: 'CP1256'
+ 0x42A: 'CP1258'

0 comments on commit e7d7b5b

Please sign in to comment.