windows-utf-8.rst 989 B

12345678910111213141516171819202122
  1. windows-utf-8
  2. -------------
  3. * On Windows, CMake learned to support international characters.
  4. This allows use of characters from multiple (spoken) languages
  5. in CMake code, paths to source files, configured files such as
  6. ``.h.in`` files, and other files read and written by CMake.
  7. Because CMake interoperates with many other tools, there may
  8. still be some limitations when using certain international
  9. characters.
  10. Files written in the :manual:`cmake-language(7)`, such as
  11. ``CMakeLists.txt`` or ``*.cmake`` files, are expected to be
  12. encoded as UTF-8. If files are already ASCII, they will be
  13. compatible. If files were in a different encoding, including
  14. Latin 1, they will need to be converted.
  15. The Visual Studio generators now write solution and project
  16. files in UTF-8 instead of Windows-1252. Windows-1252 supported
  17. Latin 1 languages such as those found in North and South America
  18. and Western Europe. With UTF-8, additional languages are now
  19. supported.