mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Fix multiple missing UTF-8 decoding.
This commit is contained in:
parent
1f0dc02649
commit
c69e0d16bc
13 changed files with 22 additions and 22 deletions
|
|
@ -431,7 +431,7 @@ Error OS_LinuxBSD::move_to_trash(const String &p_path) {
|
|||
if (trash_path.is_empty()) {
|
||||
char *dhome = getenv("XDG_DATA_HOME");
|
||||
if (dhome) {
|
||||
trash_path = String(dhome) + "/Trash";
|
||||
trash_path = String::utf8(dhome) + "/Trash";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -439,7 +439,7 @@ Error OS_LinuxBSD::move_to_trash(const String &p_path) {
|
|||
if (trash_path.is_empty()) {
|
||||
char *home = getenv("HOME");
|
||||
if (home) {
|
||||
trash_path = String(home) + "/.local/share/Trash";
|
||||
trash_path = String::utf8(home) + "/.local/share/Trash";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue