On 06/02/2016 04:50 PM, Timon Gehr wrote:
On 02.06.2016 22:28, Andrei Alexandrescu wrote:On 06/02/2016 04:12 PM, Timon Gehr wrote:It is not meaningful to compare utf-8 and utf-16 code units directly.But it is meaningful to compare Unicode code points. -- AndreiIt is also meaningful to compare two utf-8 code units or two utf-16 code units.
By decoding them of course. -- Andrei