We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
UTF-32*
1 parent 6868e3b commit 684925fCopy full SHA for 684925f
kaitai/kaitaistream.cpp
@@ -880,6 +880,16 @@ int kaitai::kstream::encoding_to_win_codepage(const char *src_enc) {
880
return KAITAI_CP_UTF16BE;
881
if (enc == "UTF-16LE")
882
return KAITAI_CP_UTF16LE;
883
+ if (enc == "UTF-32BE") {
884
+ // It has a code page number 12001 assigned to it, but it's "available only to
885
+ // managed applications", so we can't use it.
886
+ return KAITAI_CP_UNSUPPORTED;
887
+ }
888
+ if (enc == "UTF-32LE") {
889
+ // It has a code page number 12000 assigned to it, but it's "available only to
890
891
892
893
if (enc == "ISO-8859-1")
894
return 28591;
895
if (enc == "ISO-8859-2")
0 commit comments