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

Everything about buying, using, and managing OpenVMS systems not covered by other sections.
Post Reply

Topic author
fim
Contributor
Posts: 19
Joined: Wed Jan 04, 2023 5:14 am
Reputation: 0
Status: Offline

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

Post by fim » Thu Jan 05, 2023 8:53 am

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
Last edited by fim on Thu Jan 05, 2023 8:57 am, edited 1 time in total.

User avatar

arne_v
Valued Contributor
Posts: 85
Joined: Fri Apr 17, 2020 7:31 pm
Reputation: 0
Location: Rhode Island, USA
Status: Offline
Contact:

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

Post by arne_v » Fri Jan 06, 2023 2:37 pm

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.
Arne
arne@vajhoej.dk
VMS user since 1986


Topic author
fim
Contributor
Posts: 19
Joined: Wed Jan 04, 2023 5:14 am
Reputation: 0
Status: Offline

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

Post by fim » Sat Jan 07, 2023 12:29 pm

Thank you arne_v
/Fim W.


Topic author
fim
Contributor
Posts: 19
Joined: Wed Jan 04, 2023 5:14 am
Reputation: 0
Status: Offline

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

Post by fim » Tue Jan 10, 2023 11:40 am

And by all means don't forget SET TERMINAL/EIGHT_BIT
/Fim W.

User avatar

puder
VSI Expert
Contributor
Posts: 10
Joined: Thu Aug 29, 2019 1:44 pm
Reputation: 0
Status: Offline

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

Post by puder » Tue Jan 10, 2023 2:11 pm

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.

User avatar

arne_v
Valued Contributor
Posts: 85
Joined: Fri Apr 17, 2020 7:31 pm
Reputation: 0
Location: Rhode Island, USA
Status: Offline
Contact:

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

Post by arne_v » Tue Jan 10, 2023 7:06 pm

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 ....
Arne
arne@vajhoej.dk
VMS user since 1986


Topic author
fim
Contributor
Posts: 19
Joined: Wed Jan 04, 2023 5:14 am
Reputation: 0
Status: Offline

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

Post by fim » Thu Jan 12, 2023 9:09 am

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.

Post Reply