Почувствуй себя Штирлицем! · Заметки

Команда расшифровки имени файла, который был скачан с виндовс-машины по peer-to-peer и сохранен на диск в локали KOI-8, а потом, в связи со сменой локали, был переименован с перекодировкой KOI-8 в UTF-8:

echo вЙЪЕ-лБТНЕО | recode utf-8..koi8-r | recode koi8-r..windows-1251 | recode koi8-r..utf-8

Не так уж и сложно... :)


Tags: Linux.


Comments:

No Comments for this post yet...

Leave a comment:

Your email address will not be displayed on this site.
Your URL will not be displayed on this site. Comments containing URL's of non-personal pages may be removed.
Confirmation Code:
Human Confirmation Code (Captcha)

HTML tags and "<", ">" symbols are not allowed. Links will not be converted to hyperlinks. Any commercials are removed and reported as abuse.

Archives

                                                                                                                                                                                                                                                                   


© Sergey A. Galin, 1998-2021 sageshome.net/blog/