fanglu Posted November 13, 2009 at 10:20 PM Report Share Posted November 13, 2009 at 10:20 PM This is something that has been bothering me for a while. How does windows (or the software on my ipod or any other software) order chinese files when sort by name is selected? It seems to have some kind of order, because when I set windows to reverse name sort it reverses the order its in when its set on name sort, I just have no idea what it is. It would be helpful for finding files if I knew how they were ordered so I wasn't just reading from top to bottom every time I want to find something. Or even better if there was some way of setting it to order alphabetically by first character, then second, like a dictionary. Quote Link to comment Share on other sites More sharing options...
adrianlondon Posted November 14, 2009 at 02:03 AM Report Share Posted November 14, 2009 at 02:03 AM I created three files in a directory on my laptop running Windows XP. It appeared to sort the files alphabetically by pinyin. Quote Link to comment Share on other sites More sharing options...
fanglu Posted November 14, 2009 at 08:35 AM Author Report Share Posted November 14, 2009 at 08:35 AM OK well mine definitely does not - see attached screenshot. Are you using a chinese or english version of windows? Quote Link to comment Share on other sites More sharing options...
tooironic Posted November 14, 2009 at 09:36 AM Report Share Posted November 14, 2009 at 09:36 AM My impression was that they always sort alphabetically by pinyin (not sure what they do with characters with more than one pinyin!). @fanglu Shouldn't the sorting arrow be pointing up to have Windows sort A-Z? Maybe try that. Quote Link to comment Share on other sites More sharing options...
fanglu Posted November 14, 2009 at 09:49 AM Author Report Share Posted November 14, 2009 at 09:49 AM Shouldn't the sorting arrow be pointing up to have Windows sort A-Z? Maybe try that. That just reverses the order shown in my screen shot. Quote Link to comment Share on other sites More sharing options...
Hofmann Posted November 14, 2009 at 10:12 AM Report Share Posted November 14, 2009 at 10:12 AM They are sorted by Unicode. Quote Link to comment Share on other sites More sharing options...
adrianlondon Posted November 14, 2009 at 12:01 PM Report Share Posted November 14, 2009 at 12:01 PM I redid my test with more files and it sorts the same way as yours, fanglu. Rubbish. Windows XP English edition. Quote Link to comment Share on other sites More sharing options...
roddy Posted November 14, 2009 at 12:23 PM Report Share Posted November 14, 2009 at 12:23 PM It sorts them in order of Unicode: 阿拉伯语 38463; 25289; 20271; 35821; 英语 33521; 35821; 美国语 32654; 22269; 35821; 泰语 27888; 35821; 法语 27861; 35821; 中文 20013; 25991; Not aware of any way to fix it. My Windows Mobile phone does the same with contact names I think. Edit: Completely missed Hoffman's post, hence repetition. Quote Link to comment Share on other sites More sharing options...
adrianlondon Posted November 14, 2009 at 12:30 PM Report Share Posted November 14, 2009 at 12:30 PM Well, I've changed mine so it sorts by pronunciation (pinyin I assume). There's also an option to sort by stroke order. However ... to do this affects other things, such as date/time/currency displays. 1. In control panel go to Regional and Language Options. 2. In the first tab change "standards and formats" to "Chinese PRC". 3. Customise and pick the sorting you prefer. 4. Delete the extra keyboard it then creates for input (second tab, details). 5. Log off and back on again. It could be worth totally amending the locale "Chinese PRC" to work how you want, i.e. put the date/time/currency etc stuff back to the usual but leave the sorting. Quote Link to comment Share on other sites More sharing options...
fanglu Posted November 14, 2009 at 01:33 PM Author Report Share Posted November 14, 2009 at 01:33 PM Thanks adrianlondon. What that proves is that windows is capable of doing what I want, microsoft has just decided that anyone who is not chinese could not possibly want their chinese files sorted properly. I guess I could just set my regional settings to China and change the currency settings etc back, but you can't change long dates back - if you try you get something like 星期六 14 十一月 2009. Also the calendar and probably other bits and pieces stay in chinese, which isn't what I want. Actually, browsing around the internet it seems the user locale is used by programs to set up defaults for lots of things, so I don't really want to go changing it to chinese and having random websites start giving me their chinese versions by default. I get annoyed enough by programs installing chinese versions of themselves because I have the system locale set as Chinese. The bottom line is I don't see why I should have to just to get sorts working properly. Windows clearly has the capacity to sort a lot of different types of character sets, but just disables sorting the ones it assumes you don't use and sorts by unicode. Quote Link to comment Share on other sites More sharing options...
adrianlondon Posted November 14, 2009 at 02:34 PM Report Share Posted November 14, 2009 at 02:34 PM Here's something fun for you to try. Leave the regional settings as your default (eg English UK). Edit the registry key (xxxxxx is your user) : [HKEY_USERSS-xxxxxxxxxxxxControl PanelInternational] Set "Locale" to "00000804". Don't forget to make a note of what it currently is ;) Quote Link to comment Share on other sites More sharing options...
fanglu Posted November 14, 2009 at 08:02 PM Author Report Share Posted November 14, 2009 at 08:02 PM Didn't seem to do anything. What should happen? Quote Link to comment Share on other sites More sharing options...
adrianlondon Posted November 14, 2009 at 09:04 PM Report Share Posted November 14, 2009 at 09:04 PM It changed the sort order of my Chinese file names from useless (i.e. Unicode) into pinyin. You may need to log out/in first, and make sure you're editing the right user-id. Quote Link to comment Share on other sites More sharing options...
fanglu Posted November 14, 2009 at 10:34 PM Author Report Share Posted November 14, 2009 at 10:34 PM Ah, that was the problem, I hadn't logged out. Excellent. Thanks for that. Next problem, how to get my ipod to do the same. Changing the windows sort order doesn't seem to change the sort order in itunes. Hmm... Quote Link to comment Share on other sites More sharing options...
adrianlondon Posted November 14, 2009 at 10:41 PM Report Share Posted November 14, 2009 at 10:41 PM It's not perfect. For example, when I lock my system the unlock message is in English but underneath where it should say "please swipe your finger"* it says it in Mandarin instead. Kind of cool, I suppose. * Thinkpad laptop with fingerprint reader Quote Link to comment Share on other sites More sharing options...
fanglu Posted November 15, 2009 at 12:07 AM Author Report Share Posted November 15, 2009 at 12:07 AM OK I got my ipod to do what I wanted. Adrianlondon's solution didn't change the sort order in itunes (and hence on the ipod) so I did this: 1. Close Itunes 2. Set user locale to Chinese (Simplified, PRC) in control panel>Regional and Language Options>Formats>Current format and close 3. Open Itunes and sort relevant playlist by name. Songs are now sorted by pronunciation. 4. Right click on the name of the playlist and select 'Copy to play order' 5. Sort playlist by number (the left-most column). The order should be unchanged. 6. Close Itunes. 7. Set user locale back to English (Australia) or whatever in control panel>Regional and Language Options>Formats>Current format and close 8. Open Itunes. Alphabetical sorting remains. 9. Sync Ipod. Ipod is now properly sorted. The only problem is that every time you add a new song it just gets put at the bottom of the playlist. If you want it in its proper place you need to repeat the process. Also every time you sync the ipod you need to ensure the playlist is sorted by number (the left-most column). Quote Link to comment Share on other sites More sharing options...
bryce1 Posted February 28, 2011 at 08:38 PM Report Share Posted February 28, 2011 at 08:38 PM Hello/大家好, I have many Chinese computer files and am wondering how computers sort Chinese character file names. They don't seem to be sorted by pinyin and if I remember correctly, I don't believe they follow the traditional stroke-order order either Would anybody know of how they are sorted? Is there a way to change it to pinyin so as to be able to find one's files easier? (or does anybody have any tips for this?) Thanks! Quote Link to comment Share on other sites More sharing options...
jbradfor Posted February 28, 2011 at 09:23 PM Report Share Posted February 28, 2011 at 09:23 PM I guess I always assumed it was unicode order..... but never bothered to confirm. Quote Link to comment Share on other sites More sharing options...
來撒母耳 Posted February 28, 2011 at 09:53 PM Report Share Posted February 28, 2011 at 09:53 PM Good question I had never thought about before, did a quick search and came up with this: Forum post now my question is what is the sort order for my Ubuntu, and can I change it to number of strokes? Quote Link to comment Share on other sites More sharing options...
jbradfor Posted February 28, 2011 at 10:05 PM Report Share Posted February 28, 2011 at 10:05 PM Wonder what it does for characters with more than one pronunciation? Anyone care to see where it sorts 會計, for example? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and select your username and password later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.