* National alphabet not works in bash
@ 2019-01-04 10:32 znavko
0 siblings, 0 replies; 2+ messages in thread
From: znavko @ 2019-01-04 10:32 UTC (permalink / raw)
To: Help Guix
[-- Attachment #1: Type: text/plain, Size: 2433 bytes --]
Hello! After reconfigure without any changes or maybe after update bash does not work with Russian characters.
I am typing in Russian:
# ?????????????????
-bash: ?????????????????: command not found
# ??????
-bash: ??????: command not found
$ locale -a
bash: locale: command not found
Terminal: xfce4-terminal
Preferences: Encoding: Default ANSI_X3.4-1968
I did not changed anything.
Tried to solve the problem with Guix Manual, section '6.2.6 Locales', but I discovered I have Russian locales already:
# ls /run/current-system/locale/2.28/
ca_ES.utf8/ en_CA.utf8/ es_ES.utf8/ fr_FR.utf8/ nl_NL.utf8/ tr_TR.utf8/
cs_CZ.utf8/ en_GB.utf8/ es_MX.utf8/ ga_IE.utf8/ pl_PL.utf8/ uk_UA.utf8/
da_DK.utf8/ en_US.utf8/ fi_FI.utf8/ it_IT.utf8/ pt_PT.utf8/ vi_VN.utf8/
de_DE.utf8/ en_US.UTF-8/ fr_BE.utf8/ ja_JP.utf8/ ro_RO.utf8/ zh_CN.utf8/
el_GR.utf8/ es_AR.utf8/ fr_CA.utf8/ ko_KR.utf8/ ru_RU.utf8/
en_AU.utf8/ es_CL.utf8/ fr_CH.utf8/ nb_NO.utf8/ sv_SE.utf8/
Nevertheless I tried to add the line 'locale-definition' to config.scm, but got the error:
# head -n 25 /etc/config.scm
;;this is znavko's cute config
(use-modules (gnu) (gnu system nss)
(gnu system locale) ;;for locale-definition
(gnu services desktop)
(gnu services dns) ;;for dnsmasq
(srfi srfi-1) ;;for remove function
(gnu services networking) ;;for remove ntp
(gnu services avahi) ;;for remove avahi
(gnu services xorg)
;;(gnu services databases);;for postgres
(gnu packages admin) ;;for wpa_supplicant
)
(use-service-modules desktop)
(use-package-modules certs gnome)
(operating-system (host-name "antelope") (timezone "Europe/Moscow") (locale "en_US.utf8")
(cons (locale-definition
(name "ru_RU.utf8") (source "ru_RU"))
%default-locale-definitions)
(bootloader (bootloader-configuration
(bootloader grub-bootloader)
(target "/dev/sda")))
(file-systems (cons (file-system
# guix system reconfigure /etc/config.scm
/etc/config.scm:18:2: error: invalid field specifier
How to retrieve Russian characters in terminal?
[-- Attachment #2: Type: text/html, Size: 5651 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: National alphabet not works in bash
[not found] <LVNPu2F--3-1@tutanota.com-LVNPxck----1>
@ 2019-01-05 15:54 ` znavko
0 siblings, 0 replies; 2+ messages in thread
From: znavko @ 2019-01-05 15:54 UTC (permalink / raw)
Cc: Help Guix
[-- Attachment #1: Type: text/plain, Size: 2860 bytes --]
I tried Lxterminal, Russian character was displaying there.
I found in xfce4-terminal Preferences: Advances - Encoding and changed it on UTF-8. Closed and run xfce4-terminal again and everything is ok.
I think it should be default, but not Ansi-x3.4-1968
Jan 4, 2019, 10:32 AM by znavko@tutanota.com:
> Hello! After reconfigure without any changes or maybe after update bash does not work with Russian characters.
>
> I am typing in Russian:
>
> # ?????????????????
> -bash: ?????????????????: command not found
> # ??????
> -bash: ??????: command not found
>
> $ locale -a
> bash: locale: command not found
>
> Terminal: xfce4-terminal
> Preferences: Encoding: Default ANSI_X3.4-1968
> I did not changed anything.
>
> Tried to solve the problem with Guix Manual, section '6.2.6 Locales', but I discovered I have Russian locales already:
>
> # ls /run/current-system/locale/2.28/
> ca_ES.utf8/ en_CA.utf8/ es_ES.utf8/ fr_FR.utf8/ nl_NL.utf8/ tr_TR.utf8/
> cs_CZ.utf8/ en_GB.utf8/ es_MX.utf8/ ga_IE.utf8/ pl_PL.utf8/ uk_UA.utf8/
> da_DK.utf8/ en_US.utf8/ fi_FI.utf8/ it_IT.utf8/ pt_PT.utf8/ vi_VN.utf8/
> de_DE.utf8/ en_US.UTF-8/ fr_BE.utf8/ ja_JP.utf8/ ro_RO.utf8/ zh_CN.utf8/
> el_GR.utf8/ es_AR.utf8/ fr_CA.utf8/ ko_KR.utf8/ ru_RU.utf8/
> en_AU.utf8/ es_CL.utf8/ fr_CH.utf8/ nb_NO.utf8/ sv_SE.utf8/
>
> Nevertheless I tried to add the line 'locale-definition' to config.scm, but got the error:
>
> # head -n 25 /etc/config.scm
> ;;this is znavko's cute config
>
> (use-modules (gnu) (gnu system nss)
> (gnu system locale) ;;for locale-definition
> (gnu services desktop)
> (gnu services dns) ;;for dnsmasq
> (srfi srfi-1) ;;for remove function
> (gnu services networking) ;;for remove ntp
> (gnu services avahi) ;;for remove avahi
> (gnu services xorg)
> ;;(gnu services databases);;for postgres
> (gnu packages admin) ;;for wpa_supplicant
>
> )
> (use-service-modules desktop)
> (use-package-modules certs gnome)
>
> (operating-system (host-name "antelope") (timezone "Europe/Moscow") (locale "en_US.utf8")
> (cons (locale-definition
> (name "ru_RU.utf8") (source "ru_RU"))
> %default-locale-definitions)
> (bootloader (bootloader-configuration
> (bootloader grub-bootloader)
> (target "/dev/sda")))
> (file-systems (cons (file-system
>
>
> # guix system reconfigure /etc/config.scm
> /etc/config.scm:18:2: error: invalid field specifier
>
> How to retrieve Russian characters in terminal?
>
[-- Attachment #2: Type: text/html, Size: 6207 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-01-05 15:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <LVNPu2F--3-1@tutanota.com-LVNPxck----1>
2019-01-05 15:54 ` National alphabet not works in bash znavko
2019-01-04 10:32 znavko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).