LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 11-04-2002, 02:50 AM   #1
sourceman
Member
 
Registered: Feb 2002
Posts: 48

Rep: Reputation: 15
Question Unicode chdir


How can I chdir to a unicode Japanese directory in c?

I tried reading the unicode string from a file and then passing it to chdir as follows...

fopen(blah...
fgets(blah... into Str

chdir("/mnt/JapWin/%s", Str);

No luck.

Isn't %S (capital s) unicode?
How do I mix normal strings and unicode strings.
Isn't there a function I can call to convert normal strings to unicode strings?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
chdir oldstinkyfish Linux - Software 3 11-14-2004 04:58 AM
about chdir() feetyouwell Programming 3 10-02-2004 01:26 PM
smbd/service.c:set_current_service(56) chdir failed errors Medievalist Linux - Networking 0 09-02-2004 01:03 PM
Wine: permission denied to chdir Micro420 Linux - Software 1 11-16-2003 01:06 AM
chdir problem Abe_the_Man Linux - Software 4 08-20-2003 12:39 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration