|
Тема |
UTF-16 XML |
|
Автор | sog (Нерегистриран) | |
Публикувано | 01.02.05 13:17 |
|
|
privet,
ako moje nqkoi da podskaje kak se zapisva Unicode (UTF-16) string v XML.
myXmlTextWriter = New XmlTextWriter("example.xml", System.Text.Encoding.Unicode)
.........
myXmlTextWriter.WriteStartElement("message")
myXmlTextWriter.WriteElementString("unicode", UnicodeString)
..........
gorniq primer hva6ta Exception:
System.ArgumentException: The surrogate pair is invalid.
samo da spomena 4e trqbva da izpolzvam UTF-16.
merci predvaritelno!
|
| |
|
|
|