This NASM program should print äöüß + CRLF:
cpu 8086
org 256
start:
mov ah, 9
mov dx, umlauts
int 21h
mov ax, 4C00h
int 21h
umlauts:
db 84h ; ä/ä
db 94h ; ö/ö
db 81h ; ü/ü
db 0e1h ; ß/ß
db 13,10,'$'
but my Linux Mint 22 terminal session shows this instead:
����
If I redirect output to a file and use Double Commander's internal viewer, umlauts and ß are shown correctly only, when I select encodings like, e.g., CP437 or CP850, manually. This may be a desirable behavior when redirecting, but not on the screen, I think.
This NASM program should print
äöüß+ CRLF:but my Linux Mint 22 terminal session shows this instead:
����If I redirect output to a file and use Double Commander's internal viewer, umlauts and ß are shown correctly only, when I select encodings like, e.g., CP437 or CP850, manually. This may be a desirable behavior when redirecting, but not on the screen, I think.