I am using NSXMLParser to parse server XML documents. They are encoded as UTF8. My problem is that NSXMLParser breaks at the umlauts (ä, ö, ü) and launches a new element.
For example:
Lösen - NSXMLParser ---> L + ösen
How to get NSXMLParser to read my umlaut words completely, like any other word.
Hello
Sorry, but based on your comment on the original question (foundCharacters, receiving text in two calls), the parser behaves fine. See the Discussion Section for the parser: foundCharacters: method, listed below:
: foundCharacters: . , , .
, , .
foundCharacters: , , didEndElement.
foundCharacters:
didEndElement
:
, , didEndElement, .
Source: https://habr.com/ru/post/1711554/More articles:Changing list contents in Python - python.htaccess 404 page not found - php.net creating broken jpegs in IE and FF - .netIs "StartsWith" faster than "indexOf"? - javaiPhone 3.0 SDK против iPhone 2.0 SDK - objective-cuseBean tag - javaConvert special characters to PHP - stringEssential Ruby Jewels? - ruby | fooobar.comjquery.gridLayout + filtered div-boxes → without resorting to help - jqueryForm calls 2 php functions - htmlAll Articles