Bug#676114: Ruby help needed (Was: Bug#676114: wordnet: FTBFS: debian/wn-for-goldendict.rb:465: invalid multibyte char (US-ASCII))
Sam Ruby
rubys at intertwingly.net
Tue Jun 5 15:26:42 UTC 2012
On 06/05/2012 10:08 AM, Andreas Tille wrote:
>>> debian/wn-for-goldendict.rb:465: invalid multibyte char (US-ASCII)
>>> debian/wn-for-goldendict.rb:465: invalid multibyte char (US-ASCII)
>>> debian/wn-for-goldendict.rb:465: syntax error, unexpected $end, expecting ')'
>>> print_array(@words, 'Syn', "[c blue]â¢[/c]")
Probable fix: add the following at the top of the file (as first line if
there is no #! line, or immediately after that):
# encoding: utf-8
Alternate fix, replace "â¢" with "\u2022" in line 465.
Explanation: 'â¢' is a non-ASCII character. If you build this outside of
a build machine, it probably builds as you likely have the LANG
environment variable set. Unset, it defaults to US-ASCII.
- Sam Ruby
More information about the debian-science-maintainers
mailing list