[Issue 10668] Unicode characters, when taken from strings (as char), are not printed correctly

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jul 19 08:28:23 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10668



--- Comment #5 from monarchdodra at gmail.com 2013-07-19 08:28:23 PDT ---
(In reply to comment #3)
> (In reply to comment #2)
> > Well... what did you think it was going to print? you have a utf-8 sequence.
> > char c = s[0]; will extract the first code*point*
> 
> You mean code*unit*.
> 
> > of your unicode. You want the first code*unit*.
> 
> code*point*

Oops. Massive face-palm. Thank you for correcting me.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list