Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Pages: 1
Hey folks!
I have a network of several Ubuntu (10.04 and 10.10) and Windows XP computers. I use my DNS-323 (firmware 1.08) as a central storage for all data.
I had a little problem with character-encoding and other issues. So i reset the NAS to factory defaults, installed the new 1.08 firmware (it was 1.07 before), reformatted the two Seagate 1TB-Drives and set up a Raid0. So I thought everything was good and started copying my data back from my backup to the NAS.
The problem now/still is the following:
If I create file-/foldernames with special characters (german "Umlaut" like ö ü ä) in Ubuntu everything works fine. But if I view these files/folders in WinXP the special characters are shown as weird signs, like squares and $, ... It is the same the other way around. So special characters created in WinXP show as "invalid encoding" in Ubuntu.
Can anyone help me please!?
Offline
XP doesnt use utf8 which is the solution for these types of problem. I would suggest to try googling a solution forcing XP to use utf8 in filenames (instead of regionspecific codepage).
Offline
Thanks for the idea. I checked for solutions but could find nothing useful really.
Seems like no one had this kind of problem before.
Do you have any clue how to do what you suggested?
Offline
I got curious tested from virtualbox XP, it worked fine. Stored filname in utf8. Anyhow. Maybe go back to square one. What is really happening.
Create a file on nas from XP and one from ubuntu with umlaut.
Analyse with 'ls * | hexdump -bc' executed on nas.
Utf8 will give 2 bytes per umlaut char.
One byte per non-std-ascii-char is wrong.
If it turns out to be XP, possible workaround is accessing via FTP mapped drive, maybe.
Offline
I tested it in virtual box as well and it worked, but still not on the real installation.
I haven't yet checked about the bytes but I tried to map the drive via FTP.
I used NetDrive and I managed to connect. I tried tons of different encodings but none of them showed the correct characters.
The files saved through Ubuntu seem to be in UTF8 - i opened one in Firefox and the content appeared correctly only when I set the character set to UTF8.
getting desperate
Offline
If the problem was the character encoding in Windows, it wouldn't work on a USB-Key either, would it?
I tried it and it worked! I created a folder on the USB-Key and named it only with special german characters and it showed correctly in XP. Doesn't that mean the problem is on the NAS?
Offline
maybe and maybe. It doesnt prove anything.
I think you need to actually see how your files and directories are named in order to get somewhere. To truely see you need some sort of hexviewer. Without a hexviewer it kind of like listening to a greek woman reading you ancient arabic.
Have you tried filezilla ftpclient?
Offline
OK, I executed your hexdump-command via telnet on the NAS now.
The situation:
I created a test-folder on the NAS.
Then I created a "ubuntu-ö.txt" in Ubuntu and a "winXP-ö.txt" in WinXP.
Content of both files is "ö" (in case it doesn't show correctly - it's the Umlaut of "o")
This is the output:
guenther@Guenther:~$ telnet 10.0.0.6
Trying 10.0.0.6...
Connected to 10.0.0.6.
Escape character is '^]'.
/ # cd mnt/HD_a2/test
/mnt/HD_a2/test # ls
ubuntu-├╢ winXP-ö.txt
/mnt/HD_a2/test # ls * | hexdump -bc
0000000 165 142 165 156 164 165 055 342 224 234 342 225 242 012 167 151
0000000 u b u n t u - 342 224 234 342 225 242 \n w i
0000010 156 130 120 055 303 266 056 164 170 164 012
0000010 n X P - 303 266 . t x t \n
000001b
/mnt/HD_a2/test #
I added a screenshot (taken in Ubuntu), in case the special characters don't show correctly.
I don't understand all that well enough. So what does that mean now?
Offline
Well its seems XP gets it right. Se this table. http://www.utf8-chartable.de/unicode-ut … l?utf8=oct
303 266 -> ö
What king of character 342 224 234 342 225 242 would be I don't know. It looks all fucked up.
Try use a FTP client from ubuntu or mount it via NFS instead of CIFS. Maybe start a thread on some ubuntu forum to get better help.
cheers
Last edited by bjby (2010-12-30 16:39:06)
Offline
I gave up on it now. It's not worth the effort anymore.
I'll post it here if I ever find a solution.
Thanks for your efforts anyway!
Offline
Pages: 1