On Mar 5, 7:57 am, Bit Byte <r...@your.box.comwrote:
I am working on a large project and have several modules written
compiled using MBCS. I am considering purchasing a third party
library which I understand, is compiled to support unicode strings.
Is there anyway I can work with both unicode and multi-byte C
strings (MBCS) in the same project ?
MBCS stands for multi-byte character set. In fact this is a poor
name, as it really means multi-byte encoding. The Unicode character
set can be encoded in a "MBCS" format , the most common such way is
known as UTF-8. There are other ways to encode Unicode characters,
such as UTF-16, UCS-2, etc.
If your application already supports UTF-8 then you should not have
any trouble. You should find out exactly which encoding formats this
third-party library supports. If it supports UTF-16 and not UTF-8,
for example, you may need to add a conversion function into your
application.