Re: UTF8 file handling API's
- From: entered_this_world_recently@xxxxxxxxxxx
- Date: 30 May 2006 04:31:43 -0700
Thanks for your answers,
I have started working on this.
I have stuck up in one more problem, like i had created a
binary file holding some string in windows using its API's. Now if i
open the same file in linux and try to read it is misbehaving is it
because of Byte Ordering (i.e Little/Big Endian).
Roger Leigh wrote:
entered_this_world_recently@xxxxxxxxxxx writes:
- Is filename can be in utf8 format? (i.e can i have filename in
non english also), does linux supports this.
Yes. Linux allows filenames in any 8-bit encoding.
- If so, any API's are there for file operations.
All the normal functions allow use of UTF-8 (open, fopen etc.).
You don't need to do anything special for your program to handle
UTF-8. Just run the program in a UTF-8 locale.
Regards,
Roger
--
Roger Leigh
Printing on GNU/Linux? http://gutenprint.sourceforge.net/
Debian GNU/Linux http://www.debian.org/
GPG Public Key: 0x25BFB848. Please sign and encrypt your mail.
--=-=-Content-Type: application/pgp-signature
Content-Transfer-Encoding: base64
X-Google-AttachSize: 189
.
- References:
- UTF8 file handling API's
- From: entered_this_world_recently
- Re: UTF8 file handling API's
- From: Roger Leigh
- UTF8 file handling API's
- Prev by Date: Re: Linux system calls
- Next by Date: Re: UTF8 file handling API's
- Previous by thread: Re: UTF8 file handling API's
- Next by thread: alarm() - what am I doing wrong???
- Index(es):
Relevant Pages
|
|