fix a doc issue to add /utf-8 on MSVC

This commit is contained in:
blueloveTH 2023-10-08 11:45:42 +08:00
parent 9c5d231fb6
commit 9a17085b87
2 changed files with 2 additions and 0 deletions

View File

@ -56,6 +56,7 @@ To compile it with your project, these flags must be set:
+ `--std=c++17` flag must be set + `--std=c++17` flag must be set
+ Exception must be enabled + Exception must be enabled
+ For MSVC, `/utf-8` flag must be set
For development build on Linux, use this snippet. For development build on Linux, use this snippet.
```bash ```bash

View File

@ -43,6 +43,7 @@ To compile it with your project, these flags must be set:
+ `--std=c++17` flag must be set + `--std=c++17` flag must be set
+ Exception must be enabled + Exception must be enabled
+ For MSVC, `/utf-8` flag must be set
For emscripten, you must enable exceptions to make pocketpy work properly. For emscripten, you must enable exceptions to make pocketpy work properly.
See https://emscripten.org/docs/porting/exceptions.html. See https://emscripten.org/docs/porting/exceptions.html.