NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/60496: Locale-dependent UTF-8 issue over SSH session



The following reply was made to PR bin/60496; it has been noted by GNATS.

From: Robert Elz <kre%munnari.OZ.AU@localhost>
To: Thomas Dreibholz <dreibh%simula.no@localhost>
Cc: gnats-bugs%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost,
        riastradh%NetBSD.org@localhost
Subject: Re: bin/60496: Locale-dependent UTF-8 issue over SSH session
Date: Mon, 27 Jul 2026 02:29:25 +0700

     Date:        Sun, 26 Jul 2026 16:36:45 +0200
     From:        Thomas Dreibholz <dreibh=40simula.no>
     Message-ID:  <df67540e-6bb9-4cda-90c0-579dd702045c=40simula.no>
 
   =7C the same issue also occurs under Solaris (OpenIndiana 2026.04) ->=20
 
   =7C The observed issue=20
   =7C occurs under NetBSD and OpenIndiana, but not under FreeBSD, OpenBSD=
  and=20
   =7C different Linux distributions.
 
   =7C Linux (Ubuntu 24.04):
   =7C
   =7C Linux besserud.proxmox.crnalab.net 6.17.0-35-generic =2335=7E24.04.=
 1-Ubuntu=20
   =7C SMP PREEMPT_DYNAMIC Tue May 26 19:30:42 UTC 2 x86_64 x86_64 x86_64 =
 
   =7C GNU/Linux
   =7C 12â?¯345
   =7C 0000000 3231 80e2 33af 3534 000a
   =7C 0000009
   =7C 12â?¯345
   =7C 0000000 3231 80e2 33af 3534 000a
   =7C 0000009
 
 That one is simple enough, E2 80 AF is UTF-8 for code-point 8239 (0x202f)=
 
 a narrow no-break space (which would appear as just a space in a fixed
 width font like terminal emulators use).
 
   =7C FreeBSD (15.1-RELEASE):
   =7C
   =7C FreeBSD lillevann.proxmox.crnalab.net 15.1-RELEASE FreeBSD 15.1-REL=
 EASE=20
   =7C releng/15.1-n283562-96841ea08dcf GENERIC amd64
   =7C 12=A0345
   =7C 0000000 3231 a0c2 3433 0a35
   =7C 0000008
   =7C 12â?¯345
   =7C 0000000 3231 80e2 33af 3534 000a
   =7C 0000009
 
 That is more interesting, for nb_NO.UTF-8 FreeBSD is using a regular
 width no-break space (Code point 160, 0xA0), and for fr_FR.UTF-8 they're
 using the narrow one that Linux uses.
 
 Is Norweigan intended to be different from French in that way, or not?
 (ie: do Linux or FreeBSD have it correct) ?   Or perhaps neither, and
 both French & Norweigan should be a normal width no-break space?
 
 If this is to get changed in NetBSD, we might as well try to get it right=
 .
 
 The others don't need comments.
 
 kre
 
 



Home | Main Index | Thread Index | Old Index