UTF-8 character encoding


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: UTF-8 character encoding

  1. #1
    Quazi Rahman Guest

    UTF-8 character encoding


    I have a string that is encoded in UTF-16 character encoding. I need to convert
    it to UTF-8. Is there an API
    that will allow me to do so.

    TIA.

  2. #2
    Michael \(michka\) Kaplan Guest

    Re: UTF-8 character encoding

    Yes, its called WideCharToMultiByte.

    --
    MichKa
    "Cause it's a bittersweet symphony, thats life..." -- The Verve

    random junk of dubious value, at the multilingual,
    no scripts required, http://www.trigeminal.com/

    "Quazi Rahman" <quazi_rahman@yahoo.com> wrote in message
    news:396b78f4$1@news.devx.com...
    >
    > I have a string that is encoded in UTF-16 character encoding. I need to

    convert
    > it to UTF-8. Is there an API
    > that will allow me to do so.
    >
    > TIA.




  3. #3
    Michael \(michka\) Kaplan Guest

    Re: UTF-8 character encoding

    Yes, its called WideCharToMultiByte.

    --
    MichKa
    "Cause it's a bittersweet symphony, thats life..." -- The Verve

    random junk of dubious value, at the multilingual,
    no scripts required, http://www.trigeminal.com/

    "Quazi Rahman" <quazi_rahman@yahoo.com> wrote in message
    news:396b78f4$1@news.devx.com...
    >
    > I have a string that is encoded in UTF-16 character encoding. I need to

    convert
    > it to UTF-8. Is there an API
    > that will allow me to do so.
    >
    > TIA.




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center