tahonermann / text_view

A C++ concepts and range based character encoding and code point enumeration library
MIT License
122 stars 14 forks source link

Enable constexpr transcoding of string literals to other encodings #5

Open tahonermann opened 8 years ago

tahonermann commented 8 years ago

Transcoding of string literals to other encodings at compile time would enable writing text in a convenient source encoding that would be available at run-time in some other statically known encoding with no run-time overhead. This might be useful, for example, to produce strings in Java's modified UTF-8 for use in JNI applications.