CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 2 of 2 FirstFirst 12
Results 16 to 17 of 17
  1. #16
    Join Date
    Dec 2009
    Posts
    145

    Re: .txt file and Japanese text

    Quote Originally Posted by shilpal View Post
    Hi,

    In one of my VC++ application i am using FILE::Write(); funciton to write data to a notepd file. It is fine, but now my requirement is to write Japanese text data to a notepad, for this what i have to do, is there any option to do so? please help me.

    pal
    MFC library contains bugs dealing with UNICODE, you can read it with whatever read functions and appropriate parameters available but writing to file fails to encode the characters properly, .NET offers a better solution with nice read and write. I used to have a hard time working with Japanese language, I hate its formats because it never gave me an open chance to use bad words, and that makes me just miss it so much.

  2. #17
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,430

    Re: .txt file and Japanese text

    Quote Originally Posted by Ledidas View Post
    MFC library contains bugs dealing with UNICODE, you can read it with whatever read functions and appropriate parameters available but writing to file fails to encode the characters properly...
    What MFC classes/methods contain bugs dealing with UNICODE? CStdioFile? perhaps...
    But which bug did you find in CFile::Write method?
    Victor Nijegorodov

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured