mirror of https://github.com/kiwix/libkiwix.git
+ better deal with accented paths
This commit is contained in:
parent
1475646cf3
commit
1c2037e5fa
|
@ -24,7 +24,7 @@ const char *nsStringToCString(const nsAString &str) {
|
||||||
nsCString tmpStr;
|
nsCString tmpStr;
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
LossyCopyUTF16toASCII(str, tmpStr):
|
LossyCopyUTF16toASCII(str, tmpStr);
|
||||||
#else
|
#else
|
||||||
CopyUTF16toUTF8(str, tmpStr);
|
CopyUTF16toUTF8(str, tmpStr);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue