The current amd64 binary package for nano (nano-4.2) segfaults on all machines I've tried it on (all on FreeBSD-12.0). Building the binary manually from ports fixes the problem. Please upload a correctly built binary.
I managed to submit this one twice for some reason. Sorry for that. *** This bug has been marked as a duplicate of bug 239189 ***
Yeah, something has wrong. You must unset LANG... x@FreeBSD:~ % nano --version GNU nano, version 4.2 (C) 1999-2011, 2013-2019 Free Software Foundation, Inc. (C) 2014-2019 the contributors to nano Email: nano@nano-editor.org Web: https://nano-editor.org/ Compiled options: --enable-utf8 x@FreeBSD:~ % setenv LANG pl_PL.UTF-8 x@FreeBSD:~ % nano --version Segmentation fault (core dumped) x@FreeBSD:~ % setenv LANG x@FreeBSD:~ % nano --version GNU nano, version 4.2 (C) 1999-2011, 2013-2019 Free Software Foundation, Inc. (C) 2014-2019 the contributors to nano Email: nano@nano-editor.org Web: https://nano-editor.org/ Compiled options: --enable-utf8