Opened 6 years ago
Last modified 8 months ago
#56783 assigned defect
wget printing results in Russian
Reported by: | jwmparker | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.5.2 |
Keywords: | Cc: | ||
Port: | wget |
Description (last modified by mf2k (Frank Schima))
At some point around December or January the wget in MacPorts started reporting results in Russian (see snippet below) in my iMac running macOS v10.13.2. I can't find any language location setting for wget, and the command line "locale" shows everything on my machine set to "en_US.UTF-8".
<SAMPLE OUTPUT> (URLs intentionally obscured)
--2018-01-25 22:46:59-- http://FOO.org/archives/2118 Повторное использование соединения с FOO.org:80. HTTP-запрос отправлен. Ожидание ответа… 200 OK Длина: нет данных [text/html] FOO.org/archives/2118: Is a directory Невозможно записать в « FOO.org/archives/2118» (Is a directory). --2018-01-25 22:46:59-- http://FOO.org/archives/2113 Подключение к FOO.org (FOO.org)|###.###.###.###|:80... соединение установлено. HTTP-запрос отправлен. Ожидание ответа… 200 OK Длина: нет данных [text/html] FOO.org/archives/2113: Is a directory Невозможно записать в « FOO.org/archives/2113» (Is a directory). --2018-01-25 22:47:00-- http://FOO.org/wp-content/uploads/FOO/FOO/FOO.jpg Подключение к FOO.org (FOO.org)|###.###.###.###|:80... соединение установлено. HTTP-запрос отправлен. Ожидание ответа… 304 Not Modified Файл « FOO.org/wp-content/uploads/FOO/FOO/FOO.jpg» на сервере не изменился. Скачивание пропускается.
Change History (5)
comment:1 Changed 6 years ago by mf2k (Frank Schima)
Owner: | set to ryandesign |
---|---|
Status: | new → assigned |
comment:2 Changed 6 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|
comment:3 follow-up: 4 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)
Do you have the LANG
, LC_MESSAGES
, LC_ALL
, or LANGUAGE
environment variables set, and if so, to what values?
In the Language & Region section of System Preferences, what are you Preferred Languages?
comment:4 Changed 6 years ago by jwmparker
Replying to ryandesign:
Do you have the
LANG
,LC_MESSAGES
,LC_ALL
, orLANGUAGE
environment variables set, and if so, to what values?
LANG
is set to "en_US.UTF-8" All the others are not set.
In the Language & Region section of System Preferences, what are you Preferred Languages?
Two languages are listed: English (U.S.) is the Primary, and Russian (Русский) is the second.
comment:5 Changed 8 months ago by ryandesign (Ryan Carsten Schmidt)
I can't reproduce this issue with wget 1.24.5 on macOS 12.7.2 today. I only get Russian output from wget if I list Russian first in Language & Region preferences.
I see that wget does not ship with en_US localization files, but it does have files for en_GB and ru. If you still experience the problem, perhaps it would be solved if you added English (UK) to your Language & Region preferences between English (U.S.) and Russian.
In the future, please use WikiFormatting and add the port maintainer(s) to Cc (
port info --maintainers wget
), if any.