National letters åå ää öö ÅÅ ÄÄ ÖÖ
-
Topic author - Active Contributor
- Posts: 31
- Joined: Wed Jan 04, 2023 5:14 am
- Reputation: 0
- Status: Offline
National letters åå ää öö ÅÅ ÄÄ ÖÖ
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
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.
-
- Master
- Posts: 341
- Joined: Fri Apr 17, 2020 7:31 pm
- Reputation: 0
- Location: Rhode Island, USA
- Status: Offline
- Contact:
Re: National letters åå ää öö ÅÅ ÄÄ ÖÖ
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.
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.
-
Topic author - Active Contributor
- Posts: 31
- Joined: Wed Jan 04, 2023 5:14 am
- Reputation: 0
- Status: Offline
Re: National letters åå ää öö ÅÅ ÄÄ ÖÖ
Thank you arne_v
/Fim W.
/Fim W.
-
Topic author - Active Contributor
- Posts: 31
- Joined: Wed Jan 04, 2023 5:14 am
- Reputation: 0
- Status: Offline
Re: National letters åå ää öö ÅÅ ÄÄ ÖÖ
And by all means don't forget SET TERMINAL/EIGHT_BIT
/Fim W.
/Fim W.
-
- VSI Expert
- Contributor
- Posts: 10
- Joined: Thu Aug 29, 2019 1:44 pm
- Reputation: 0
- Status: Offline
Re: National letters åå ää öö ÅÅ ÄÄ ÖÖ
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.
-
- Master
- Posts: 341
- Joined: Fri Apr 17, 2020 7:31 pm
- Reputation: 0
- Location: Rhode Island, USA
- Status: Offline
- Contact:
Re: National letters åå ää öö ÅÅ ÄÄ ÖÖ
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 ....
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 ....
-
Topic author - Active Contributor
- Posts: 31
- Joined: Wed Jan 04, 2023 5:14 am
- Reputation: 0
- Status: Offline
Re: National letters åå ää öö ÅÅ ÄÄ ÖÖ
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.
I used to think that the terminal type should be set in PuTTY.
Thanks for the help.
/Fim W.