Results 1 to 2 of 2

Thread: Konsole not displaying 'aa'x and 'ac'x

  1. #1
    Join Date
    Jan 2018
    Location
    Annandale, VA
    Posts
    143

    Default Konsole not displaying 'aa'x and 'ac'x

    A command running in Konsole is writing code points AA and AC, both of which are valid Unicode characters, and Konsole is displaying them as "?"
    Code:
    linux-gn5l:~ # locale
    LANG=POSIX
    LC_CTYPE=en_US.UTF-8
    LC_NUMERIC="POSIX"
    LC_TIME="POSIX"
    LC_COLLATE="POSIX"
    LC_MONETARY="POSIX"
    LC_MESSAGES="POSIX"
    LC_PAPER="POSIX"
    LC_NAME="POSIX"
    LC_ADDRESS="POSIX"
    LC_TELEPHONE="POSIX"
    LC_MEASUREMENT="POSIX"
    LC_IDENTIFICATION="POSIX"
    LC_ALL=
    linux-gn5l:~ # rexxtry
      /usr/local/bin/rexxtry lets you interactively try REXX statements.
        Each string is executed when you hit Enter.
          Enter 'call tell' for a description of the features.
      Go on - try a few...             Enter 'exit' to end.
    say 'aa'x
    �
      .................................... /usr/local/bin/rexxtry on LINUX
    say 'ac'x
    �
      .................................... /usr/local/bin/rexxtry on LINUX
    exit
    linux-gn5l:~ #
    A similar issue exists in Kate.

  2. #2
    Join Date
    Sep 2012
    Posts
    5,230

    Default Re: Konsole not displaying 'aa'x and 'ac'x

    Quote Originally Posted by shmuelmetz View Post
    code points AA and AC, both of which are valid Unicode characters
    They are not in locale you are using
    Code:
    linux-gn5l:~ # locale
    LC_CTYPE=en_US.UTF-8
    In UTF-8 the only valid single byte characters are in ASCII range. You are confusing UNICODE code points and their representation in current encoding. While U+00AA and U+00AC are valid UNICODE code points, their representation in UTF-8 is 0xc2aa and 0xc2ac

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •