S
S
sddvxd2019-04-14 20:49:11
Unicode
sddvxd, 2019-04-14 20:49:11

How to output Russian characters to the output stream?

Good afternoon!
Until today, I was outputting text in English to the console using ASCII, I would like to understand what values ​​\u200b\u200bshould be given to the output function in order to output, for example, Russian A. I tried this way, but, as expected, it did not work:

global _start

section .data
msg db 4, 10, 10
msg_len equ $-msg

section .text
_start: mov eax, 4
        mov ebx, 1
        mov ecx, msg
        mov edx, msg_len
        int 80h

        mov eax, 1
        mov ebx, 0 
        int 80h

Please tell me what bytes should be entered on the output

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Ernest Faizullin, 2019-04-14
@sddvxd

UTF-8

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question