Bug #159 Can't change encoding while "Save UTF-8 BOM" option selected
This commit is contained in:
parent
4b6e1a7bbb
commit
b03707961c
|
@ -576,7 +576,7 @@ int WrapLibxml::saveEncodingFromFile (
|
||||||
xmlDocPtr docPtr = xmlCtxtReadFile (
|
xmlDocPtr docPtr = xmlCtxtReadFile (
|
||||||
ctxt,
|
ctxt,
|
||||||
fileNameSource.c_str(),
|
fileNameSource.c_str(),
|
||||||
"UTF-8",
|
NULL,
|
||||||
( netAccess ) ? XML_PARSE_DTDLOAD : XML_PARSE_DTDLOAD | XML_PARSE_NONET );//XML_PARSE_NONET//XML_PARSE_DTDLOAD//0//(netAccess) ? XML_PARSE_DTDLOAD | XML_PARSE_NOENT : XML_PARSE_DTDLOAD | XML_PARSE_NONET | XML_PARSE_NOENT//0
|
( netAccess ) ? XML_PARSE_DTDLOAD : XML_PARSE_DTDLOAD | XML_PARSE_NONET );//XML_PARSE_NONET//XML_PARSE_DTDLOAD//0//(netAccess) ? XML_PARSE_DTDLOAD | XML_PARSE_NOENT : XML_PARSE_DTDLOAD | XML_PARSE_NONET | XML_PARSE_NOENT//0
|
||||||
if ( !docPtr )
|
if ( !docPtr )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue