Hi,
I recently immigrated to Win-10. Previously, I was using Linux.
After I transfer all my personal files from Linux to Win-10, I noticed all my Chinese files have wrong file names.
Instead of showing the Chinese character in the file names, it shows giberish characters.
My Win-10 does have Chinese fonts. I am able to use F2 to rename the Chinese files with Chinese characters. But there are hundreds of files, and I don't want to manually go to each one to fix the file names.
English filenames are all correct.
So, it seems like the Chinese file names got screwed up doing the immigration from Linux to Win-10.
Anyone ran into this problem before?
Thanks!
Take a look at our
ThinkPads.com HOME PAGE
For those who might want to contribute to the blog, start here: Editors Alley Topic
Then contact Bill with a Private Message
ThinkPads.com HOME PAGE
For those who might want to contribute to the blog, start here: Editors Alley Topic
Then contact Bill with a Private Message
File name font problem (from Linux)
Re: File name font problem (from Linux)
Welcome to "Encoding Hell".
What exactly did you do? What do you mean by "transferred files from Linux to Windows"? Did you copy them from one partition to the other? Or to a different hard drive? Or do you just mount the same storage volume on different operating systems and file names show differently?
What exactly did you do? What do you mean by "transferred files from Linux to Windows"? Did you copy them from one partition to the other? Or to a different hard drive? Or do you just mount the same storage volume on different operating systems and file names show differently?
Thinkpad 25 (20K7), T490 (20N3), Yoga 14 (20FY), T430s (IPS FHD + Classic Keyboard), X220 4291-4BG
X61 7673-V2V, T60 2007-QPG, T42 2373-F7G, X32 (IPS Screen), A31p w/ Ultrabay Numpad
X61 7673-V2V, T60 2007-QPG, T42 2373-F7G, X32 (IPS Screen), A31p w/ Ultrabay Numpad
Re: File name font problem (from Linux)
I didn't pay attention to the filenames when transferring the files over to Windows. I copied the entire user home folder.dr_st wrote: ↑Sun Dec 05, 2021 1:40 amWelcome to "Encoding Hell".
What exactly did you do? What do you mean by "transferred files from Linux to Windows"? Did you copy them from one partition to the other? Or to a different hard drive? Or do you just mount the same storage volume on different operating systems and file names show differently?
I just did "cp -rp /home/euless /mnt/"
I did one of the following (can't recall which way)...
(1) While in Linux, I mounted a Fat32 USB Thumbdrive, and copied the files into it. Then in Win-10, copy the files from Thumbdrive to the Win-10's NTFS partition...or
(2) While in Linux, I mounted the Win-10's NTFS partition (using ntfs-3g and fuse), and then copy the files over to the mounted partition with "cp -rp".
I probably did (1).
Re: File name font problem (from Linux)
According to this:
https://docs.microsoft.com/en-us/window ... file-names
NTFS uses Unicode for file names while FAT32 partitions use OEM character sets, which is more prone to causing confusion.
I would suggest you try a variation of (1), but use an NTFS-formatted thumb drive.
https://docs.microsoft.com/en-us/window ... file-names
NTFS uses Unicode for file names while FAT32 partitions use OEM character sets, which is more prone to causing confusion.
I would suggest you try a variation of (1), but use an NTFS-formatted thumb drive.
Thinkpad 25 (20K7), T490 (20N3), Yoga 14 (20FY), T430s (IPS FHD + Classic Keyboard), X220 4291-4BG
X61 7673-V2V, T60 2007-QPG, T42 2373-F7G, X32 (IPS Screen), A31p w/ Ultrabay Numpad
X61 7673-V2V, T60 2007-QPG, T42 2373-F7G, X32 (IPS Screen), A31p w/ Ultrabay Numpad
-
- Similar Topics
- Replies
- Views
- Last post
-
- 4 Replies
- 6085 Views
-
Last post by marttt
Mon Jan 15, 2024 2:15 am
-
-
Using legacy Ubuntu Linux distribution with R51e
by lukee » Sun Jan 21, 2024 4:21 pm » in Linux Questions - 6 Replies
- 1767 Views
-
Last post by lukee
Thu Jan 25, 2024 2:43 pm
-
-
-
Strange T480 Shift lock problem.
by unified11 » Mon Feb 05, 2024 7:17 pm » in ThinkPad T430-T490 / T530-T590 Series - 1 Replies
- 599 Views
-
Last post by ZaZ
Mon Feb 05, 2024 10:52 pm
-
-
-
How bad was the Thunderbolt Firmware Problem
by euless » Wed Feb 07, 2024 4:19 am » in ThinkPad T430-T490 / T530-T590 Series - 3 Replies
- 1207 Views
-
Last post by TPFanatic
Sun Feb 11, 2024 6:20 am
-
Who is online
Users browsing this forum: No registered users and 6 guests