Package: libgettext-ruby1.8
Version: 1.93.0-1
Severity: important
Hello,
a Ruby application using gettext was not working for me. In my opinion,
these behaviors are bugs:
Should be UTF-8:
% env -i LANG=en_US.UTF-8 LC_MESSAGES=C ruby -e 'require "locale"; puts
Locale.current.charset'
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
ANSI_X3.4-1968
Should be ANSI_X3.4-1968:
% env -i LANG=en_US.UTF-8 LC_CTYPE=C ruby -e 'require "locale"; puts
Locale.current.charset'
UTF-8
Should not emit warnings:
% env -i LANG=C ruby -e 'require "locale"; puts Locale.current.charset'
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
ANSI_X3.4-1968
--
- Are you sure we're good?
- Always.
-- Rory and Lorelai
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]