User Tools

Site Tools


encoding:encoding

Encoding

Aim: converting File Name's Encoding, for that convert:

FilenameBadEncoding -> Bitstream             -> FilenameGoodEncoding
$ГБ!n|cЪГБ∙█        -> 01100100 01010011 ... -> Filename
Glossar
  • Encoding is a number of 1s and 0s, e.g. 1100001 is an “a” encoded in UTF-8
  • Unicode is a hexadecimal encoding. It contains of a table with characters and corresponding symbolic constructions like U+0061. These constructions transfaired to bits are called encoding
  • Code Points are encoding numbers following U+, e.g. 0061 in U+0061
Windows Cmd and Unicode

To display Unicode characters in Windows console correctly - switch to Unicode by typing in:

CHCP 65001

Here is a very very good article about encoding in general and encoding in Ruby.
Here is some Information about switching encoding in cmd

encoding/encoding.txt · Last modified: 2023/11/01 07:15 by skipidar