This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: UTF-8 support - char or wchar_t?


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]