HI all,
we are devloping a driver in which we need to compare the unicode string and a multibyte string at the driver level.
Right now what we are doing is: we are writing a mixed mode string into the file, say, a string consisting of ascii charecters and MBCS charecters. (as we need to support CJK languages). at the driver end we will be extracting the file name from the system using RtlXXX routines. and we need to compare the extracted file name which is in unicode with the string that is extracted from the file(which is in ascii + MBCS).
so, i there any API available which will convert the extracted unicode string into MBCS string at the driver end. we are looking at RtlUnicodeToMultibyteN. will it work for us?
regards
I would suggest to forget any multi-byte strings at all completely, since
Win98/Me is dead, and any NT software can be Unicode-only.
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
----- Original Message -----
From:
To: “Windows File Systems Devs Interest List”
Sent: Thursday, October 12, 2006 12:58 PM
Subject: [ntfsd] conversion routine for UNICODE to MBCS
> HI all,
>
> we are devloping a driver in which we need to compare the unicode string and
a multibyte string at the driver level.
>
> Right now what we are doing is: we are writing a mixed mode string into the
file, say, a string consisting of ascii charecters and MBCS charecters. (as we
need to support CJK languages). at the driver end we will be extracting the
file name from the system using RtlXXX routines. and we need to compare the
extracted file name which is in unicode with the string that is extracted from
the file(which is in ascii + MBCS).
>
> so, i there any API available which will convert the extracted unicode
string into MBCS string at the driver end. we are looking at
RtlUnicodeToMultibyteN. will it work for us?
>
> regards
>
>
> —
> Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com