Page 1 of 1

National letters åå ää öö ÅÅ ÄÄ ÖÖ

Posted: Thu Jan 05, 2023 8:53 am
by fim
I am using VSIOpenVMSStudentPackage.
How are national letters represented?
I can't enter them in EDIT:
And this little test program shows that it cannot be printed from a program
FOR R = 30 TO 255
PRINT R, CHR$(R)
NEXT R
What and how should I do?

/Fim W.
Sweden

Re: National letters åå ää öö ÅÅ ÄÄ ÖÖ

Posted: Fri Jan 06, 2023 2:37 pm
by arne_v
Make sure your terminal emulator is set to ISO-8859-1 (better DECMCS, but ISO-8859-1 will do).

Make sure that VMS sees the terminal as VT200/VT300/VT400 8 bit mode.

Then it should work.

ÆØÅ worked on VMS 35 years ago.

Added in 56 seconds:
You can also try get UTF-8 to work, but I recommend starting with ISO-8859-1/DECMCS.

Re: National letters åå ää öö ÅÅ ÄÄ ÖÖ

Posted: Sat Jan 07, 2023 12:29 pm
by fim
Thank you arne_v
/Fim W.

Re: National letters åå ää öö ÅÅ ÄÄ ÖÖ

Posted: Tue Jan 10, 2023 11:40 am
by fim
And by all means don't forget SET TERMINAL/EIGHT_BIT
/Fim W.

Re: National letters åå ää öö ÅÅ ÄÄ ÖÖ

Posted: Tue Jan 10, 2023 2:11 pm
by puder
Using SET TERMINAL/INQUIRE ought to do the right thing, but only if your terminal emulator is set to mimic some VTnnn device and correctly describes itself in its reply to the system's inquiry.

Re: National letters åå ää öö ÅÅ ÄÄ ÖÖ

Posted: Tue Jan 10, 2023 7:06 pm
by arne_v
SET TERM/INQ always worked with real VT terminals - for emulators it depends.

I like SET TERM/DEV=VT400/WID=132.

I have never had to use SET TERM/EIGHT, but obviously 8 bit is needed for these characters to work, so ....

Re: National letters åå ää öö ÅÅ ÄÄ ÖÖ

Posted: Thu Jan 12, 2023 9:09 am
by fim
SET TERM/DEV=VT400/WID=132 Works great for me too, using PuTTY.
I used to think that the terminal type should be set in PuTTY.
Thanks for the help.

/Fim W.