More DBCS issues.  Fun stuff!

Anyhow, I have an issue now that I believe has to do with
replacing data in a DBCS string.

The string itself contains both SBCS and DBCS data (ie
normal text and say, traditional chinese characters).

Now, in this string I need to look for and replace certain
characters.  For example, I want to find "/*LEFTBKT*/" and
replace it with a "[" character.

This replacement seems to really muck up the entire string.
 Could this be because it's shifting things over (ie
replacing 11 characters with 1) and throwing off the DBCS
data?

This is what I assume is happening, it could be something
else entirely.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.