Quantcast
Channel: Active questions tagged utf-8 - Stack Overflow
Viewing all articles
Browse latest Browse all 1201

Converting a string of ASCII and UTF8 characters to a binary sequence using the xxd utility

$
0
0

I have a question about using the xxd utility in Linux: I need to represent a string written in Russian Cyrillic characters

C бодрымутром! 😜 as a sequence of zeros and ones in one line without a space character, the beginning of a line, and a line break (the exclamation mark and smiley must be left).

Catches in the task:

1.The letter C is a Latin letter of the ASCII encoding

2.The string contains the beginning of a line and a line break

Please help me solve this problem in the console using the xxd utility


Viewing all articles
Browse latest Browse all 1201

Trending Articles