[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 07:59:09 PDT 2013


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


Nils <nilsbossung at googlemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nilsbossung at googlemail.com


--- Comment #3 from Nils <nilsbossung at googlemail.com> 2013-07-19 07:59:08 PDT ---
(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*

-- 
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