📜 ⬆️ ⬇️

Something about problems with encodings in ubuntu.

I did not set myself the goal to solve all the problems, but I wanted to write solutions that were not written about in Habré.
Basically touch on encodings in icq.

So let's start with IM. A good hostess can take note of several of the following facts. Miranda gets along great with both utf and 1251. qip accepts only 1251 and does not want to work with utf. Pidgin tuned to utf does not accept 1251. Pidgin tuned to 1251 accepts utf but sends back 1251 in response.
I summarize the previous paragraph, I can say that so far it works most correctly with Miranda encodings, but it should be run like this: env LC_ALL = ru_RU.cp1251 wine miranda.exe otherwise it will not work with cp1251.
UPD
I beg your attention of those who use pidzhin
Pidgin gets offline messages with sparks.
The user Zeboton suggested that in the Pidgin properties you should not write cp1251 but WINDOWS-1251 then the problem disappears.
I myself checked, really.
/ UPD
In general, the startup method LC_ALL = ru_RU.cp1251 wine program.exe can be applied to all Windows programs with problematic encodings, but I think that I haven’t discovered America.

You had such that you insert a normal disk and Cyrillic names look like this: "?????".
The problem, oddly enough, is (at least with my disks) that it was NOT mounted in UTF8 SYSTEM ENCODING!
If you get such a disk, try mounting it with the -o iocharset = utf8 option. If the letters have shown their Cyrillic essence, then you can write in fstab the option iocharset = utf8 to sid-rom.

And a little about the subtitles in mplayer.
From the beginning, we find a font with Cyrillic support, at least the same tachome. We put in home / user / .mplayer. We find in the same file a config.
We write to it:
font = / home / user / .mplayer / tahoma.ttf
subcp = "utf8"
If you have a subs with 1251, the last line should be replaced by
subcp = "cp1251"
UPD
The user non7top suggested that in order to auto-detect the encoding in mplayer instead of subcp = "cp1251" you should write:
subcp = enca: ru: cp1251
it should set enca.
')
Here a little about kodirovakah in audiofoilyah and players.

Actually for now. If you think that any problem should be solved differently or you know how to solve another one - write. Amendments are also accepted.

Source: https://habr.com/ru/post/21187/


All Articles