godot/core/bind
Rémi Verschelde 751b16a285 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.

(cherry picked from commit 1418f97c70)
2022-08-01 00:40:55 +02:00
..
SCsub
core_bind.cpp File: Re-add support to skip CR (`\r`) in `File::get_as_text` 2022-08-01 00:40:55 +02:00
core_bind.h File: Re-add support to skip CR (`\r`) in `File::get_as_text` 2022-08-01 00:40:55 +02:00