#726 lack of wide character support

OTHER
closed
nobody
gcc (462)
out-of-date
Unknown
2013-02-05
2005-03-03
SecCat
No

// my source here:
wchar_t *T = L"中文";

int main()
{
return 0;
}

g++ main.cpp -o main.exe

main.cpp:1:20: converting to execution character set:
Illegal byte sequence
make: *** [bugtest] Error 1

I've try it on Linux, no error

MinGW-3.2.0-rc-3, WindowsXP SP1

thanks in advance

Discussion

  • SecCat

    SecCat - 2005-03-03

    the source file

     
  • SecCat

    SecCat - 2005-03-30

    Logged In: YES
    user_id=1226447

    the wide char string "T" consists of some East Asia
    characters, which may not be displayed correctly on this
    page. so, please check out the attachment below.

     
  • Earnie Boyd

    Earnie Boyd - 2013-02-05
    • labels: --> gc
    • status: open --> closed
    • resolution: --> out-of-date
    • category: --> Unknown
    • milestone: --> OTHER
     
  • Earnie Boyd

    Earnie Boyd - 2013-02-05
    • labels: gc --> gcc
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks