On Sunday, 29 January 2017 at 02:46:16 UTC, pineapple wrote:
On Sunday, 29 January 2017 at 02:17:12 UTC, Stefan Koch wrote:
Also my ctfe engine still requires utf8 support, for string-foreach.
[ ... ]

Can you clarify what string-foreach refers to? Surely not `foreach(ch; some_string){}`, which enumerates code units and not code points?

Yes exactly that. many times in phobos foreach(dchar ch; some_string)
which requires me to encode the utf8 string temporarily into utf32
and then when it is appending to some other string I need to reencode it into utf8.

Reply via email to