Re: Unicode setting question
- From: "Giovanni Dicanio" <giovanni.dicanio@xxxxxxxxxxx>
- Date: Sat, 31 May 2008 12:10:13 +0200
"Bo Persson" <bop@xxxxxx> ha scritto nel messaggio
news:6aceuuF379eq5U1@xxxxxxxxxxxxxxxxxxxxx
Tom Serface wrote:
No one is really asking me either :o)
Trying to move toward standard instead of making it easier to
create Windows programs will be the death of VC++ in my opinion. I
would imagine that there are some people who care about the
"standard" stuff, but I just want to create Windows programs that
look cool and work and are easy to maintain.
The whole world isn't just doing desktop applications. Ask Google, for
example.
But if we focus on Windows desktop applications, I fail to understand
reasons why we can't have some ad hoc extensions to Microsoft C++ to make
code cleaner.
We are not asking to break the standard and assume 'char' = Unicode char.
We (Tom, David C., me...) are just asking to provide a simple compiler
switch, such that strings are assumed Unicode in Unicode builds.
So we don't need decorations.
If one wants to compile standard C++, he disables that option (let assume
default = 'disabled', so the standard people are more happy :)
But if one wants to build Windows-only desktop apps, he can turn this option
on, so he can just use "" for strings, and strings are considered Unicode.
Moreover, IMHO the C++ standard is not very "standard" for Unicode things...
For example: on VC++, wchar_t is unisgned short (16 bits, fine for UTF-16);
but I read that on other platforms (maybe some flavours of Linux/Unix?)
wchar_t is 32 bits, because they use UTF-32. So, this "standard" is kind of
"flexible"...
BTW: I'm not against standard stuff for C++. On the contrary, I think that
standard feature of the language can be a very good point for C++: in fact,
people who want to buid applications that run on several platforms can use
C++ as their language for development.
For example, I think that Google Earth is built using C++ and QT library (I
Spy++'ed it). And maybe also Skype and Adobe Photoshop Elements are built
using QT...
So, standard C++ is a great thing.
I would just like some "add-on" to the standard, just a switch that you can
turn off or off, basing on your needs (if, for your project, you don't need
standard stuff, and just want Windows-only stuff, why not?)
My 2 cents.
Giovanni
.
- Follow-Ups:
- Re: Unicode setting question
- From: Mihai N.
- Re: Unicode setting question
- From: Doug Harrison [MVP]
- Re: Unicode setting question
- References:
- Re: Unicode setting question
- From: Joseph M . Newcomer
- Re: Unicode setting question
- From: Hans-J. Ude
- Re: Unicode setting question
- From: Joseph M . Newcomer
- Re: Unicode setting question
- From: David Ching
- Re: Unicode setting question
- From: Mihai N.
- Re: Unicode setting question
- From: David Ching
- Re: Unicode setting question
- From: Giovanni Dicanio
- Re: Unicode setting question
- From: Tom Serface
- Re: Unicode setting question
- From: Mihai N.
- Re: Unicode setting question
- From: Tom Serface
- Re: Unicode setting question
- From: Bo Persson
- Re: Unicode setting question
- Prev by Date: Re: Unicode setting question
- Next by Date: Re: Unicode setting question
- Previous by thread: Re: Unicode setting question
- Next by thread: Re: Unicode setting question
- Index(es):
Relevant Pages
|