Timeline for std::wstring VS std::string
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 15, 2019 at 10:57 | comment | added | Phil Rosenberg | I was not aware of this as an option. From this link learn.microsoft.com/en-us/cpp/build/reference/… it seems there is no tick box to select in in project properties, you must add it as an additional command line option. Good spot! | |
Jan 14, 2019 at 9:42 | comment | added | Richard |
Regarding "However, before passing the source to the compiler, VS converts the UTF-8 encoded text to code page encoded text and any characters missing from the code page are replaced with ?." -> I don't think that this is true when the compiler uses UTF-8 encoding (use /utf-8 ).
|
|
Aug 17, 2018 at 13:36 | history | edited | Phil Rosenberg | CC BY-SA 4.0 |
Misread question 3 asking about ASCII - I though the OP was asking about unicode.
|
Aug 17, 2018 at 13:17 | history | answered | Phil Rosenberg | CC BY-SA 4.0 |