X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fstringcodec%2Futf16.cpp;fp=source%2Fstringcodec%2Futf16.cpp;h=f8ae093a64e8e67d16a9e9897dd5e3e13063b4a6;hp=13d49ad4ed6250e1a9e95ee5084e20f424608796;hb=122846f0881673770d88eff7d925ecf25c01b62e;hpb=b116e161e377da0e4e52f07745ecb2d22f962ae9 diff --git a/source/stringcodec/utf16.cpp b/source/stringcodec/utf16.cpp index 13d49ad..f8ae093 100644 --- a/source/stringcodec/utf16.cpp +++ b/source/stringcodec/utf16.cpp @@ -7,8 +7,7 @@ namespace StringCodec { Utf16::Encoder::Encoder(ErrorMode em, Endian en): Codec::Encoder(em), - endian(en==AUTO ? BIG : en), - emit_bom(true) + endian(en==AUTO ? BIG : en) { } void Utf16::Encoder::encode_char(unichar ch, string &buf)