Re: std::string vs. Unicode UTF-8
Simon Bone wrote:[color=blue]
> On Thu, 06 Oct 2005 00:20:59 -0600, kuyper wrote:
>
>[color=green]
> > What might be worthwhile is to require some actual support for Unicode.
> > I'm not sure it's a good idea to impose such a requirement; there's a
> > real advantage to giving implementors the freedom to not support
> > Unicode if they know that their particular customer base has no need
> > for it. However, such a requirement would at least guarantee some
> > benefit to some users, which requiring wchar_t to be at least 16 bits
> > would NOT do.
> >[/color]
>
> Like the freedom not to implement export because no-one in their customer
> base needs it? ;-)[/color]
Not really. The freedom to not implement export exists because
customers don't insist that an implementation be fully conforming in
that regard. The freedom to provide a trivial implementation of wide
characters is available because the standard is quite deliberatly
designed to allow even a fully conforming implementation to provide
such an implementation. Those freedoms seem quite different to me.
[color=blue]
> I think standard Unicode support would be more widely appreciated than
> export. ...[/color]
Perhaps; I can't speak for anyone but myself. Personally, in my current
job I have absolutely no need for Unicode support, or even support for
any encoding other than US ASCII, nor for any locale other than the "C"
locale. On the other hand, I'd love to be able to use "export". I'm not
opposed to supporting other locales, it just isn't relevant on my
current job.
---
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.e du ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html ]
Simon Bone wrote:[color=blue]
> On Thu, 06 Oct 2005 00:20:59 -0600, kuyper wrote:
>
>[color=green]
> > What might be worthwhile is to require some actual support for Unicode.
> > I'm not sure it's a good idea to impose such a requirement; there's a
> > real advantage to giving implementors the freedom to not support
> > Unicode if they know that their particular customer base has no need
> > for it. However, such a requirement would at least guarantee some
> > benefit to some users, which requiring wchar_t to be at least 16 bits
> > would NOT do.
> >[/color]
>
> Like the freedom not to implement export because no-one in their customer
> base needs it? ;-)[/color]
Not really. The freedom to not implement export exists because
customers don't insist that an implementation be fully conforming in
that regard. The freedom to provide a trivial implementation of wide
characters is available because the standard is quite deliberatly
designed to allow even a fully conforming implementation to provide
such an implementation. Those freedoms seem quite different to me.
[color=blue]
> I think standard Unicode support would be more widely appreciated than
> export. ...[/color]
Perhaps; I can't speak for anyone but myself. Personally, in my current
job I have absolutely no need for Unicode support, or even support for
any encoding other than US ASCII, nor for any locale other than the "C"
locale. On the other hand, I'd love to be able to use "export". I'm not
opposed to supporting other locales, it just isn't relevant on my
current job.
---
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.e du ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html ]
Comment