Re: utf8 -> ascii in c language??
From: Chris Williams (thesagerat_at_yahoo.co.jp)
Date: 02/07/05
- Next message: G Patel: "comma operator and assignment operator"
- Previous message: Walter Roberson: "Re: Why C Is Not My Favourite Programming Language"
- In reply to: chunhui_true: "utf8 -> ascii in c language??"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 6 Feb 2005 22:29:35 -0800
chunhui_true wrote:
> i have a class, it can read one line(\r\n ended) from string,when i
> read line from utf8 string i can't get any thing!
> maybe i should conversion utf8 to ascii??there is any function can
> conversion utf8 to ascii? very thanks to your help!!
I would recommend writing the bytes of each string out as a number and
as a text value so that you can see them. You might find that this is a
case where it isn't as difficult as it seems.
-Chris
- Next message: G Patel: "comma operator and assignment operator"
- Previous message: Walter Roberson: "Re: Why C Is Not My Favourite Programming Language"
- In reply to: chunhui_true: "utf8 -> ascii in c language??"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|