OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Wallinius Mattias (Mattias.WalliniusTETRAPAK.COM)
Date: Wed Apr 11 2001 - 00:58:01 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    Thanks but I found it. Someone further down the line i.e. DB guy siad it was
    ok in their end. It wasn't. I got crap so the call was ok.

    -----Original Message-----
    From: Tim Tabor [mailto:tltaborEARTHLINK.NET]
    Sent: den 10 april 2001 18:07
    To: DCOMDISCUSS.MICROSOFT.COM
    Subject: Re: Trying to convert BSTR(Unicode) to UTF-8.

    Can you show us your WideCharToMultibyte call?

    // tim

    > -----Original Message-----
    > From: Distributed COM-Based Code [mailto:DCOMDISCUSS.MICROSOFT.COM]On
    > Behalf Of Wallinius Mattias
    > Sent: Tuesday, April 10, 2001 11:02 AM
    > To: DCOMDISCUSS.MICROSOFT.COM
    > Subject: OT:Trying to convert BSTR(Unicode) to UTF-8.
    >
    >
    > Hello,
    > I would appreciate some help on the following. I have a BSTR that comes to
    > me in a ISAPI extension and I would like to convert it to UTF-8. I try to
    > use WideCharToMultiByte with the codepage set to CP_UTF8. In the
    > other end I
    > have a Java client and what I recieve is not according to the standard on
    > www.unicode.org and instead of getting two bytes as I would
    > expect according
    > to the standard. I get four bytes and not with the correct chars in it. I
    > always get the same byte sequence at the start with the 0xC383 which
    > intreprets to Ã. Is there anyone that knows what I am doing wrong.
    > /Mattias
    >
    > ----------------------------------------------------------------
    > Users Guide http://msdn.microsoft.com/workshop/essentials/mail.asp
    > contains important info. Save time, search the archives at
    > http://discuss.microsoft.com/archives/index.html .
    > To unsubscribe, mailto:DCOM-signoff-requestDISCUSS.MICROSOFT.COM

    ----------------------------------------------------------------
    Users Guide http://msdn.microsoft.com/workshop/essentials/mail.asp
    contains important info. Save time, search the archives at
    http://discuss.microsoft.com/archives/index.html .
    To unsubscribe, mailto:DCOM-signoff-requestDISCUSS.MICROSOFT.COM

    ----------------------------------------------------------------
    Users Guide http://msdn.microsoft.com/workshop/essentials/mail.asp
    contains important info. Save time, search the archives at
    http://discuss.microsoft.com/archives/index.html .
    To unsubscribe, mailto:DCOM-signoff-requestDISCUSS.MICROSOFT.COM