I guess I should use wchar instead of char. :)

Il giorno mar, 22/11/2011 alle 10.31 -0600, Andrei Alexandrescu ha
scritto:

> On 11/22/11 10:28 AM, Andrea Fontana wrote:
> > I've some problems (again) with UTF-8. Try this code:
> >
> > char[] chars = ['à','è','ì'];
> 
> This will truncate the multi-byte characters. It should be a 
> compile-time error.
> 
> Andrei

Reply via email to