Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: folder and file names with foreign characters
Date: Thu, 7 Feb 2008 14:06:03 +0000 (UTC)
Organization: Ford Motor Co
Lines: 62
Message-ID: <fof38b$l0t$1@fred.mathworks.com>
References: <foa939$6th$1@fred.mathworks.com> <foaa57$s4o$1@aioe.org> <foad8a$e6d$1@fred.mathworks.com> <foafbp$de8$1@aioe.org>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1202393163 21533 172.30.248.37 (7 Feb 2008 14:06:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 7 Feb 2008 14:06:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 35831
Xref: news.mathworks.com comp.soft-sys.matlab:449868



I got tech support from TMW and it works now.

I am writing in reference to your Service Request # 1-
5QA9X3 regarding ' folder and file names with foreign 
characters'. Could you please ensure that both the user 
and the system Locale Settings in Windows are set to 
Chinese? MATLAB requires that they are the same.

The user settings can be found by going to:

Start->Control Panel->Regional and Language Options-
>Regional Options

Set the dropdown box appropriately. The system settings 
are in the "Advanced" tab of the same window.

You will probably have to restart your computer for any 
changes to take effect. Please let me know if this works 
or not.


dpb <none@non.net> wrote in message <foafbp$de8
$1@aioe.org>...
> Fangjun Jiang wrote:
> > Thank you for the tip!
> > 
> > I tried one example in DOS command window. The file 
can be 
> > copied and moved and the file name keeps the same 
(still 
> > shows the correct Chinese character). This is good. 
What I 
> > need next is to read the file name and extract a 
serial 
> > number from it, combine the serial number with some 
other 
> > Chinese characters and write it to a text file. It 
would 
> > be perfect if Matlab could treat the file name as any 
> > ordinary string. But it couldn't probably due to the 
fact 
> > that the file name contains Chinese characters. I 
looked 
> > for clues in unicode2native, native2unicode but 
couldn't 
> > figure it out. Is there any solution? Thanks!
> ...
> 
> Don't know--I think this needs to go to TMW support 
directly.
> 
> A TMW person may see the query here, but this is 
unofficial (at best) 
> support forum, despite the interface available at the 
TMW site.
> 
> I don't have any way to test the problem (nor even a 
very recent copy of 
> ML), sorry...
> 
> --