This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: UTF-8 support - char or wchar_t?
- From: Paolo Carlini <pcarlini at suse dot de>
- To: Ole Laursen <olau at hardworking dot dk>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Sun, 20 Jun 2004 20:12:13 +0200
- Subject: Re: UTF-8 support - char or wchar_t?
- References: <87r7sajizw.fsf@bach.composers>
Ole Laursen wrote:
I reported a bug (#16006) which was closed as invalid,
To bel clear, if you *amend* your testcase as follows:
#include <iostream>
int main()
{
std::ios::sync_with_stdio(false);
std::wcout.imbue(std::locale("fi_FI.UTF-8"));
std::wcout << 1224 << std::endl;
}
It works as you expext.
Paolo.