-
-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unicode character in vcxproj.filters might get trouble #136
Comments
looks like cmake doesn't support variable with unicode name like |
Better rename your symbols to latin words that cmake supports |
For existing project with loads of unicode variable, It might be hard to change, how about:
stdout
|
I don't like Idea of generating names. Considered this from the very beginning. Have you checked all the warnings before creating this issue? And renaming is not hard. Just open UI and rename all non latin filters. It's prepearing step for conversion. Then you may convert easily. |
I find that I may need to reopen this issue, because visual studio under certain default language will generate unicode character forever as they are default choose, the words in English are |
|
Maybe a map for these words are necessary |
What are you proposing? Translate with cmake-converter?
If you need to convert you may create your own tool that replace unicode at your files with generated latin ones. Convert. Then replace back at CMakeLists.txt to that format that you would like. |
No, visual studio seems only generate these 3 unicode words for each language(all in my table), just map them to English can fix the problem, no need to translate every unicode word |
If user use some unicode words, they should fix themselves. But for the words generated by visual studio default setting for these language mode, map them to English, because you can't assume everyone use VS in English mode |
|
Again. But nice try for hack this for asian users. |
People can complete this dictionary later on, this need more people's help. This partial dictionary won't even slow down for English users, will bring help to asian language users and actually give a template for other language, This is a partial fix, but the only downside is that it slow down a bit for unicode users, I don't see why don't use it. |
If we have such lines with unicode in
vcxproj.filters
they will eventually become
As you can see, because cmakeconverter ignore all unicode character, the filter with only unicode character will become variable with no name, eventually cause trouble, such as
한국어
, we can fix in two ways:The text was updated successfully, but these errors were encountered: