Open GoogleCodeExporter opened 9 years ago
You can't put unicode characters in a std::string; you need to use a
std::wstring. try something like this:
std::wstring
strURI(L"https://dev.vm/workspace/file/382e9569-0440-4e27-bd63-88ea5657c6c0/down
load/íslenkt-bréf-æðþóúý.doc?xpath=file");
FB::URI uri = FB::URI::fromString(FB::utf8_from_wstring(strURI);
see if that works.
Original comment by taxilian
on 9 Mar 2011 at 6:03
I've already tried that and it fails. My fix works for me with icelandic
characters.
Original comment by krystian...@gmail.com
on 9 Mar 2011 at 6:34
Fixed in both branches.
Original comment by taxilian
on 9 Mar 2011 at 7:01
Original issue reported on code.google.com by
krystian...@gmail.com
on 9 Mar 2011 at 4:32