ddnet/src
Robert Müller 5c7bb58457 Ensure filenames are valid UTF-8 on Unix
On Unix, the encoding of filenames is unspecified, although UTF-8 is likely used in most cases. Detecting and converting from several possible encodings to UTF-8 would be too much effort, considering that most systems already use UTF-8 per default. Therefore, any filenames which are not valid UTF-8 will be ignored when listing directories with `fs_listdir(_fileinfo)`, `fs_storage_path` will fail if the storage location is not valid UTF-8 and `fs_getcwd` will fail if the current working directory is not valid UTF-8. Paths specified in `storage.cfg` must also be valid UTF-8.

On Windows, we already ensure that all filenames are converted to UTF-8.
2023-11-17 18:55:28 +01:00
..
android Add tests for overloaded hash operators, use operator instead 2022-11-12 20:36:38 +01:00
antibot Allow antibot to record data into teehistorian 2023-08-25 14:26:09 +02:00
base Ensure filenames are valid UTF-8 on Unix 2023-11-17 18:55:28 +01:00
engine Ensure filenames are valid UTF-8 on Unix 2023-11-17 18:55:28 +01:00
game Merge pull request #7469 from archimede67/pr-save-chat-input 2023-11-15 23:20:13 +00:00
macos Huge variable naming format 2022-07-08 18:01:29 +02:00
masterping Add tool to manually ping the mastersrv 2022-12-29 12:50:24 +01:00
mastersrv mastersrv: Go to RawValue directly 2023-09-08 11:03:07 +02:00
rust-bridge Fix being run from rust-analyzer with a clean environment 2022-11-09 15:09:42 +01:00
steam Replace all usages of C standard headers with C++ headers 2023-03-01 19:26:51 +01:00
test Add CLock wrapper for std::mutex to replace lock_* functions 2023-11-11 00:04:57 +01:00
tools Correct usage of demo_extract_chat tool. 2023-11-15 15:08:30 +01:00