Re: DECC : toupper/tolower performance

From: JF Mezei (jfmezei.spamnot_at_teksavvy.com)
Date: 03/03/05


Date: Thu, 03 Mar 2005 12:43:34 -0500

Tom Linden wrote:
> the character set, but note they are different in the two different ways I
> demonstrated.

i got garbage from the windows output you showed, and no valuable
outpout on teh VMS box since the decterm froze just before the
intersting output.

> So my question is there a logical or other means to define
> the character set,

for character cell outpout (such as a write sys$outpout equivalejt on
your programming language), there is no logical on the host running the
program. It is defined in terminal emulator (eg: how to display arriving bytes).

Your program just spits out raw bytes.

However, because VMS is inherently an ISO-LATIN1 machine by default, you
should set your terminal emulators to translate remote system data from
latin1 to whatever that host uses. And make sure you use an 8 bit clean path.

You should be able to output a 255 (0xFF) to any terminal and see a
lowercase y with an umlaut (ÿ)

To test 8 bit cleanliness, output a é (233 or 0xE9). It if comes out as
an i (105 or 0x69), then there is something which snips all 8th bits off
your bytes along the way.



Relevant Pages

  • Re: Uterm 0.9 - A Unicode / UTF-8 Terminal Emulator
    ... | Uterm is a Unicode/UTF-8 Terminal Emulator for the Linux FrameBuffer Console ... | supporting a large character set. ... | supporting the Chinese/Japanese/Korean character sets. ...
    (comp.os.linux.development.apps)
  • Uterm 0.9 - A Unicode / UTF-8 Terminal Emulator
    ... Uterm is a Unicode/UTF-8 Terminal Emulator for the Linux FrameBuffer Console ... supporting a large character set. ... It is patterned after kon and jfbterm, popular and current terminal emulators ... supporting the Chinese/Japanese/Korean character sets. ...
    (comp.os.linux.development.apps)
  • Re: Find out which character set is used
    ... > When a program is running inside an terminal emulator like ... > xterm or Konsole the emulator uses some character set like ... The encoding is whatever the file was created with. ... to give many false matches. ...
    (comp.unix.programmer)
  • Find out which character set is used
    ... When a program is running inside an terminal emulator like ... xterm or Konsole the emulator uses some character set like ... and LANG for the string UTF-8. ...
    (comp.unix.programmer)