List of Phobos functions that allocate memory?

Marco Leise Marco.Leise at gmx.de
Sun Feb 16 18:05:25 PST 2014


Am Sun, 9 Feb 2014 22:24:21 +1100
schrieb "Daniel Murphy" <yebbliesnospam at gmail.com>:

> "Dmitry Olshansky"  wrote in message news:ld7dla$pdg$1 at digitalmars.com... 
> 
> > > gedit does in fact throw an error message at you
> > > saying "My bad, it's broken UTF-8, I'm giving up!".
> >
> > I know and it's piece of junk :)
> > Seriously it doesn't even has regular expressions for search and replace!
> 
> That would be a luxury, gedit doesn't even have auto-indent.

You can talk about missing features in gedit all day, but from
my point of view an editor is broken when it doesn't throw an
error message at you. By silently replacing incorrect UTF-8
they change the original text.
0xFFFD should probably be used only when error messages are
out of question like when displaying/printing text only.

-- 
Marco



More information about the Digitalmars-d mailing list