char[] + utf-8 + canFind == bug?

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Tue Nov 22 09:14:18 PST 2011


On 11/22/11 11:02 AM, Andrea Fontana wrote:
>
> char[] chars = "òà";

Use string/auto here, or .dup on the string.

I filed http://d.puremagic.com/issues/show_bug.cgi?id=6988 on your 
behalf. Thanks for sharing!


Andrei


More information about the Digitalmars-d mailing list