eth4io / libkml

Automatically exported from code.google.com/p/libkml
Other
0 stars 0 forks source link

Unicode is not supported on set_description #45

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Using python
1. folder = kmldom.KmlFactory_GetFactory().CreateFolder()
2. folder.set_description(u'test')

What is the expected output? What do you see instead?
TypeError: in method 'Feature_set_description', argument 2 of type
'std::string const &'

What version of the product are you using? On what operating system?
0.6.1 on Ubuntu

Did you run the unit test suite that comes with the project? Did all tests
pass?
No, I just did 'make check' and it 'compiled.

Original issue reported on code.google.com by ingenier...@gmail.com on 17 Jan 2009 at 5:59

GoogleCodeExporter commented 8 years ago
Only the byte-oriented encodings are supported in libkml at this time.
UTF-8, is the preferred way to encode unicode.

Original comment by kml.b...@gmail.com on 20 May 2009 at 11:12