[go: up one dir, main page]

Menu

#387 Joe assumes iso-8859-1 file encoding

Unknown
open
nobody
None
v4.4
5
2018-04-19
2018-04-19
No

In an UTF-8 locale on openSUSE Leap 15 beta JOE sets the file encoding to iso-8859-1 even if the file only contains utf-8 characters. As I'm a developer myself, where could I look to find the reason for this strange behaviour as it worked OK in previous versions of openSUSE Leap?

Output of locale is:
LANG=de_DE.UTF-8
LC_CTYPE=de_DE.UTF-8
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=

Shortened output of running /lib64/libc-2.26.so :

GNU C Library (GNU libc) stable release version 2.26 (git 1c9a5c270d8b), by Roland McGrath et al.
Copyright (C) 2017 Free Software Foundation, Inc.

Configured for x86_64-suse-linux.
Compiled by GNU CC version 7.3.1 20180323 [gcc-7-branch revision 258812].
Available extensions:
crypt add-on version 2.1 by Michael Glad and others
GNU Libidn by Simon Josefsson
Native POSIX Threads Library by Ulrich Drepper et al
BIND-8.2.3-T5B
libc ABIs: UNIQUE IFUNC

Discussion

  • Philipp Thomas

    Philipp Thomas - 2018-04-19

    I forgot that I first tried JOE 4.4 that comes with Leap and then packaged 4.6 which behaves just the same.

     
  • John J. Jordan

    John J. Jordan - 2018-04-19

    I may be able to take a closer look (repro, etc) at some point, but if you want to have a try then take a look here

     
  • John J. Jordan

    John J. Jordan - 2018-04-19

    I guess one more data point I should ask for is whether you have -guess_utf8, -guess_non_utf8 or neither set in your config?

     

Log in to post a comment.