You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the past, I can write UTF-8 char in my lexical file and it work well.
But, after some days, maybe I change visual studio generate .cpp encoding, the VS template file? I can't remember exactly. The VS warning flex.cpp file contains a character that cannot be represented in the current code page (936). ( Chinese GB2312 ) , and compile fail, output mystery error.
So, how can I use UTF-8 char in lexical file? or how to set VS settings properly?
Now I only use them in comment, so i can change them to english, and it work well, but maybe I will need to recognize them in the future.
I use flex/bison 2.4.6/2.5.6 and vs 2013.
Sorry for my poor English.
The text was updated successfully, but these errors were encountered:
In the past, I can write UTF-8 char in my lexical file and it work well.
But, after some days, maybe I change visual studio generate .cpp encoding, the VS template file? I can't remember exactly. The VS warning flex.cpp file contains a character that cannot be represented in the current code page (936). ( Chinese GB2312 ) , and compile fail, output mystery error.
So, how can I use UTF-8 char in lexical file? or how to set VS settings properly?
Now I only use them in comment, so i can change them to english, and it work well, but maybe I will need to recognize them in the future.
I use flex/bison 2.4.6/2.5.6 and vs 2013.
Sorry for my poor English.
The text was updated successfully, but these errors were encountered: