Abdij
2003-10-29 16:10:01 UTC
Hi,
Thanks a lot in advance for taking time to answer my query.
I have an application that is Unicode conversant. The application
configures and monitors a hardware. The hardware is ASCII only. The
application and hardware communicate using sockets. The application
and hardware send and receive chars, int, floats among others. All
the unicode strings in the application are properly converted to UTF8
(using WideCharToMultiByte() API in MSDN) before sending to hardware.
However the hardware has a limitation. It cannot have control
characters and escape sequences (\n, CR LF, etc.) in the UTF8
converted buffer sent to it.
What i want to know is, does UTF8 take care of the multibyte buffer
not having control characters and escape sequences? If i send 2 byte
unicode character, is it possible that the output buffer has control
characters and escape sequences? If so, i will have to probably
escape the control characters and escape sequences. Is there any algo
(or standard libraries, free libraries) to do so?
Also where can i find a UTF8 tutorial?
Thanks and Regards,
Abdij
------------------------ Yahoo! Groups Sponsor ---------------------~-->
KnowledgeStorm has over 22,000 B2B technology solutions. The most comprehensive IT buyers' information available. Research, compare, decide. E-Commerce | Application Dev | Accounting-Finance | Healthcare | Project Mgt | Sales-Marketing | More
http://us.click.yahoo.com/IMai8D/UYQGAA/cIoLAA/8FfwlB/TM
---------------------------------------------------------------------~->
To Unsubscribe, send a blank message to: unicode-***@yahooGroups.com
This mailing list is just an archive. The instructions to join the true Unicode List are on http://www.unicode.org/unicode/consortium/distlist.html
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Thanks a lot in advance for taking time to answer my query.
I have an application that is Unicode conversant. The application
configures and monitors a hardware. The hardware is ASCII only. The
application and hardware communicate using sockets. The application
and hardware send and receive chars, int, floats among others. All
the unicode strings in the application are properly converted to UTF8
(using WideCharToMultiByte() API in MSDN) before sending to hardware.
However the hardware has a limitation. It cannot have control
characters and escape sequences (\n, CR LF, etc.) in the UTF8
converted buffer sent to it.
What i want to know is, does UTF8 take care of the multibyte buffer
not having control characters and escape sequences? If i send 2 byte
unicode character, is it possible that the output buffer has control
characters and escape sequences? If so, i will have to probably
escape the control characters and escape sequences. Is there any algo
(or standard libraries, free libraries) to do so?
Also where can i find a UTF8 tutorial?
Thanks and Regards,
Abdij
------------------------ Yahoo! Groups Sponsor ---------------------~-->
KnowledgeStorm has over 22,000 B2B technology solutions. The most comprehensive IT buyers' information available. Research, compare, decide. E-Commerce | Application Dev | Accounting-Finance | Healthcare | Project Mgt | Sales-Marketing | More
http://us.click.yahoo.com/IMai8D/UYQGAA/cIoLAA/8FfwlB/TM
---------------------------------------------------------------------~->
To Unsubscribe, send a blank message to: unicode-***@yahooGroups.com
This mailing list is just an archive. The instructions to join the true Unicode List are on http://www.unicode.org/unicode/consortium/distlist.html
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/