https://github.com/tpaschalis/cpp-utf8-io
C++ Read and Write UTF-8 encoded characters to a text file *in Windows*
https://github.com/tpaschalis/cpp-utf8-io
c-plus-plus cpp io utf-8
Last synced: 6 months ago
JSON representation
C++ Read and Write UTF-8 encoded characters to a text file *in Windows*
- Host: GitHub
- URL: https://github.com/tpaschalis/cpp-utf8-io
- Owner: tpaschalis
- Created: 2017-05-28T12:53:54.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-05-28T13:01:29.000Z (over 8 years ago)
- Last Synced: 2025-04-04T07:41:22.240Z (10 months ago)
- Topics: c-plus-plus, cpp, io, utf-8
- Language: C++
- Homepage:
- Size: 5.86 KB
- Stars: 4
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cpp-utf8-io
Use C++ to Read and Write UTF-8 encoded characters to a text file *in Windows*
UTF-8 I/O in C++ works out of the box in many Linux distros, but presents problems in Windows systems, due to different locales.
This is a simple solution that works in Windows, tested on Microsoft Visual Studio 2017 Community Edition
Permission is granted to use/share this code however you want, but feel free to check my other projects on GitHub.