2
0
Fork 0
godot/core/string
Rémi Verschelde 1418f97c70 File: Re-add support to skip CR (`\r`) in `File::get_as_text`
This was removed in #63481, and we confirmed that it's better like this,
but we add back the possibility to strip CR as an option, to optionally
restore the previous behavior.

For performance this is done directly in `String::parse_utf8`.

Also fixes Android `FileAccess::get_line()` as this one _should_ strip CR.

Supersedes #63717.
2022-08-01 00:40:35 +07:00
..
SCsub
char_utils.h
locales.h
node_path.cpp implement bone renamer in importer 2022-07-01 03:55:28 +07:00
node_path.h implement bone renamer in importer 2022-07-01 03:55:28 +07:00
optimized_translation.cpp
optimized_translation.h
print_string.cpp Adding print_rich for printing with BBCode 2022-06-29 00:41:29 +07:00
print_string.h Adding print_rich for printing with BBCode 2022-06-29 00:41:29 +07:00
string_buffer.h
string_builder.cpp
string_builder.h
string_name.cpp
string_name.h
translation.cpp
translation.h
translation_po.cpp
translation_po.h
ucaps.h
ustring.cpp File: Re-add support to skip CR (`\r`) in `File::get_as_text` 2022-08-01 00:40:35 +07:00
ustring.h File: Re-add support to skip CR (`\r`) in `File::get_as_text` 2022-08-01 00:40:35 +07:00