doc: update documentation for IO helper.

- update IO helper ducumentation.
- fix a latent Linux compile error in IO helper.
This commit is contained in:
yyc12345 committed 2024-07-11 09:59:50 +08:00
1 parent a6c543c1b5
commit 1c2007928d
4 files changed
+53 -1

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@ namespace YYCC::IOHelper {
return _wfopen(wpath.c_str(), wmode.c_str());
#else
return std::fopen(u8_filepath, u8_mode);
return std::fopen(EncodingHelper::ToOrdinary(u8_filepath), EncodingHelper::ToOrdinary(u8_mode));
#endif
}