Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] LC usage in cast

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Pavel Vinogradov <vin.public AT gmail.com>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] LC usage in cast
  • Date: Sat, 14 Oct 2017 21:47:06 -0400

Meson bug? If so, disabling the code in cast didn't work in my case (cast
libinput). Strange, no recent changes in meson, python or ninja...

On Sat, Oct 14, 2017 at 02:21:03PM +0200, Treeve Jelbert wrote:
when I cast certain spells I get the following

Warning: You are using 'ANSI_X3.4-1968' which is not a Unicode-compatible locale.
You might see errors if you use UTF-8 strings as filenames, as strings, or as file contents.
Please switch to a UTF-8 locale for your platform.

My environment is
# env |grep LC
LC_ALL=en_GB.UTF-8
LC_TIME=


I see that cast resets LC_ALL

# HACK for bug 2910 and 10546
if [[ -n ${saved_lc_all} ]] ; then
export LC_ALL=$saved_lc_all
else
unset LC_ALL
fi

If I disable this code, the warning disappears.

Is that hack still needed, or can we haz?
_______________________________________________
SM-Discuss mailing list
SM-Discuss AT lists.ibiblio.org
https://lists.ibiblio.org/mailman/listinfo/sm-discuss

--
Sincerely,
Pavel Vinogradov

Attachment: signature.asc
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page