GiovanniDicanio / WinReg

Convenient high-level C++ wrapper around the Windows Registry API
https://giodicanio.com/
MIT License
452 stars 97 forks source link

Support UTF-8 at the WinReg public interface #75

Open GiovanniDicanio opened 6 days ago

GiovanniDicanio commented 6 days ago

Based on this request: https://github.com/GiovanniDicanio/WinReg/issues/45#issuecomment-2466276877

May use a preprocessor macro for conditional compilation, or may make RegKey a template based on string traits, and implement traits for both UTF-8 and UTF-16.

GiovanniDicanio commented 5 days ago

Started implementation of this feature in new branch: https://github.com/GiovanniDicanio/WinReg/tree/feature-added-utf8-public-interface

GiovanniDicanio commented 5 days ago

Note that the library is still header-only; but I reorganized the code across different header files. Anyway, you just need to include the main public header WinReg.hpp (which in turns will automatically include the other headers).