X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsupport%2Funicode.cpp;h=95415a5538e45ad11a4ed4695c5b277ae79024c3;hb=12554c93d81f75f87c34040fd7737048d3518d6d;hp=574d9f904f4e620f9459ec96201cb9b99d693d3e;hpb=ea1d9cb39f59f3244ed36cb91cff9525381c884d;p=lyx.git diff --git a/src/support/unicode.cpp b/src/support/unicode.cpp index 574d9f904f..95415a5538 100644 --- a/src/support/unicode.cpp +++ b/src/support/unicode.cpp @@ -23,6 +23,8 @@ #include #include #include +//Needed in MSVC +#include using namespace std; @@ -375,7 +377,6 @@ int max_encoded_bytes(std::string const & encoding) // The CJK encodings use (different) multibyte representation as well. // All other encodings encode one UCS4 code point in one byte // (and can therefore only encode a subset of UCS4) - // Note that BIG5 and SJIS do not work with LaTeX (see lib/encodings). // Furthermore, all encodings that use shifting (like SJIS) do not work with // iconv_codecvt_facet. if (encoding == "UTF-8" ||