Data conversion

This is a discussion on Data conversion within the C++ Programming forums, part of the General Programming Boards category; I am recieving some data in UTF8 format and have to pas it to another function in const unsigned short ...

  1. #1
    Registered User
    Join Date
    Sep 2005
    Posts
    14

    Data conversion

    I am recieving some data in UTF8 format and have to pas it to another function in const unsigned short format. any ideas??

  2. #2
    Registered User
    Join Date
    Aug 2005
    Posts
    1,267
    use UNICODE conversion functions -- such as wcstombs()

  3. #3
    Registered User
    Join Date
    Sep 2005
    Posts
    14
    thanks a lot...Got it...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. data structure design for data aggregation
    By George2 in forum C# Programming
    Replies: 0
    Last Post: 05-20-2008, 07:43 AM
  2. conversion from double to float - loss of data
    By diyteam in forum C++ Programming
    Replies: 20
    Last Post: 03-04-2008, 02:59 AM
  3. Binary Tree, couple questions
    By scoobasean in forum C Programming
    Replies: 3
    Last Post: 03-12-2005, 09:09 PM
  4. Header File Question(s)
    By AQWst in forum C++ Programming
    Replies: 10
    Last Post: 12-23-2004, 11:31 PM
  5. HUGE fps jump
    By DavidP in forum Game Programming
    Replies: 23
    Last Post: 07-01-2004, 11:36 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21