DtMmdb: add UTF-8 encoding for nbsp.
This commit is contained in:
parent
dd4431719f
commit
a16ba22f1a
|
|
@ -652,7 +652,10 @@ DocParser::read_data(istream &input, ostringstream &output)
|
|||
c = '&' ;
|
||||
else
|
||||
if (!strcmp(tmpbuf, "nbsp")) // non-break space
|
||||
c = (char)0xA0 ;
|
||||
{
|
||||
if (MB_CUR_MAX > 1) output << 0xC2;
|
||||
c = (char)0xA0;
|
||||
}
|
||||
else
|
||||
c = ' ';
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue