Subject: bug#4157: 23.1.50; faulty character characterisation for ä

From: Peter Dyballa <[email-masked]>
Date: Thu, 10 Oct 2019 00:42:17 +0200

> Am 9.10.2019 um 21:47 schrieb Stefan Monnier <[email-masked]>:
> 
> but... can you
> check what is your locale set to (and ideally, maybe, check what/who
> sets it)?

I am using three areas to set LANG and LC_CTYPE, each to the value of "de_DE.UTF-8." This is necessary because of macOS (and then Mac OS X). First it's ~/.MacOSX/environment.plist. This Property LIST file sets the two for the GUI login environment. Although all other processes should inherit from it I use constructs à la

	setenv LC_CTYPE	`defaults read ~/.MacOSX/environment LC_CTYPE`

or

	export LC_CTYPE=`defaults read "${HOME}/.MacOSX/environment" LC_CTYPE`

in ~/.cshrc resp. ~/.profile (my login shell is tcsh 6.18.01 (Astron) 2012-02-14 (x86_64-apple-darwin) options wide,nls,dl,bye,al,kan,sm,rh,color,filec), and also in my ~/.xinitrc file that X11 also inherits these settings.

Dired is set up to use gls (now GNU coreutils 8.31). The system's /bin/ls neither understands -D nor --dired.

Performing a

	(shell-command "printenv | sort" nil "*stderr*")

in mini-buffer reports, among others:

	LANG=de_DE.UTF-8
	LC_CTYPE=de_DE.UTF-8

--
Greetings

  Pete

If builders built buildings the way programmers write programs, then the first woodpecker that came along would destroy civilization.
				– Weinberg's Second Law