Can files/directories have Greek characters? If I select English when install Linux
Can files/directories have Greek characters? If I selected English when installed Linux?
|
Hi,
You can have files/dirs with Greek characters, but it might be difficult to manipulate them (copy, move, open etc), especially from CLI. You can find instructions for using Greek in CLI here (it's written for debian, but it can be adapted for others distros) Regards |
Greek characters in Linux file names
The short answer is "yes". For instance on my laptop I can make a file with Greek letters:
shane@shane-asus-laptop:/tmp$ touch Ελλάδα.txt shane@shane-asus-laptop:/tmp$ ls -l Ελλάδα.txt -rw-r--r-- 1 shane shane 0 2010-09-15 08:01 Ελλάδα.txt I don't have any Greek localization installed, just English and Dutch: shane@shane-asus-laptop:/tmp$ locale -a C en_AG en_AU.utf8 en_BW.utf8 en_CA.utf8 en_DK.utf8 en_GB.utf8 en_HK.utf8 en_IE.utf8 en_IN en_NG en_NZ.utf8 en_PH.utf8 en_SG.utf8 en_US.utf8 en_ZA.utf8 en_ZW.utf8 nl_AW nl_BE.utf8 nl_NL.utf8 POSIX BTW, I just cut & pasted the characters from Wikipedia. There are other ways of inputting characters that you don't have defined on your keyboard, like the "Applications -> Accessories -> Character Map" utility that I use sometimes in Ubuntu, but that was easiest for a quick test. |
Quote:
So answering your question, if you choose an English locale that uses UTF-8 as character encoding (say, en_US.utf8), you'll be able to use Greek characters (and Chinese, Cyrillic, whatever). If you have already created the directories/files under a different encoding, you can fix the damage using a utility such as convmv. |
All times are GMT -5. The time now is 12:18 AM. |