babas1
10-22-2006, 12:51 PM
Hi, help please.
I am french, I use the stressed letters to name my file. (sorry!)
In the Finder, I see the correct name "è.jpg".
Under the console, ls -al displays : "e??.jpg".
So I use a Java program to identify the charset use : it sounds to be eCC80.jpg (hex).. which is "e" followed by the accent only. Sounds good.
How this encoding is called ? It is HFS ?
Second question is with Java which is using UTF-8 natively, i test :
"è.jpg".equals(file.getName()) // where file is my file above.
It is always false, between Java tests C3A8 (è UTF representation) to eCC80...
Here is where I am stuck ... How can i run a correct test ?
Thank you
I am french, I use the stressed letters to name my file. (sorry!)
In the Finder, I see the correct name "è.jpg".
Under the console, ls -al displays : "e??.jpg".
So I use a Java program to identify the charset use : it sounds to be eCC80.jpg (hex).. which is "e" followed by the accent only. Sounds good.
How this encoding is called ? It is HFS ?
Second question is with Java which is using UTF-8 natively, i test :
"è.jpg".equals(file.getName()) // where file is my file above.
It is always false, between Java tests C3A8 (è UTF representation) to eCC80...
Here is where I am stuck ... How can i run a correct test ?
Thank you