rdoc/rdoc — Issue #99: Test fails due to wrong assumptions about encoding
Author: voxik
Created: 2012-02-10 12:48:24+00:00
State: open

Hello, I observe following test error:

```
test_encode_with(TestRDocOptions) [/builddir/build/BUILD/rubygem-rdoc-3.12/usr/share/gems/gems/rdoc-3.12/test/test_rdoc_options.rb:88]:
--- expected
+++ actual
@@ -1,13 +1,13 @@
-{"charset"=>"UTF-8",
- "encoding"=>"UTF-8",
+{"encoding"=>"US-ASCII",
+ "static_path"=>[],
+ "rdoc_include"=>[],
+ "charset"=>"US-ASCII",
"exclude"=>[],
"hyperlink_all"=>false,
"line_numbers"=>false,
"main_page"=>nil,
"markup"=>"rdoc",
- "rdoc_include"=>[],
"show_hash"=>false,
- "static_path"=>[],
"tab_width"=>8,
"title"=>nil,
"visibility"=>:protected,
```

The error disappears when I set LANG=en_US.utf8 prior execution of test suite. Would you please consider to do the test/code more robust with regards to language settings. Thank you.