472,141 Members | 995 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,141 software developers and data experts.

UNICODE support

Hello All
I am downloading one file from web having encoding UTF-8 ( Unicode
Support ). After downloading , I am reading the file into buffer in
CString.But when I saw the buffer I found that there are some
unidentified characters ( Looks like empty spaces but not spaces ). I
am getting the same buffer though I converted it into UNIOCODE using
MultiByteToWideChar.
like this
MultiByteToWideChar( CP_ACP, 0,str,strlen(str)+1, wszStr,256 );

NOw what can I do to see those unidentified characters ? If not
possible , How can I remove those characters ?
Thanks in advance.
Jul 22 '05 #1
1 1355

"Roland" <aj***********@gmail.com> wrote in message
news:69**************************@posting.google.c om...
Hello All
I am downloading one file from web having encoding UTF-8 ( Unicode
Support ). After downloading , I am reading the file into buffer in
CString.But when I saw the buffer I found that there are some
unidentified characters ( Looks like empty spaces but not spaces ). I
am getting the same buffer though I converted it into UNIOCODE using
MultiByteToWideChar.
like this
MultiByteToWideChar( CP_ACP, 0,str,strlen(str)+1, wszStr,256 );

NOw what can I do to see those unidentified characters ? If not
possible , How can I remove those characters ?
Thanks in advance.


This is a Window programming question not a C++ language question. Please
take it to news:comp.os.ms-windows.programmer.win32

John
Jul 22 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by sebastien.hugues | last post: by
32 posts views Thread by Wolfgang Draxinger | last post: by
13 posts views Thread by Tomás | last post: by
12 posts views Thread by damjan | last post: by
17 posts views Thread by Adam Olsen | last post: by
2 posts views Thread by Barry | last post: by
29 posts views Thread by Ioannis Vranos | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.