469,636 Members | 1,682 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,636 developers. It's quick & easy.

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 1263

"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 gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.