mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-09-24 04:38:39 -04:00
+ 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…
x
Reference in New Issue
Block a user