swachian wrote:
> I use the command 'sdoc' to generate searchable doc for ruby1.8 and it
> gets wrong when generating SHTML. The error report is
> 
>   /lib/sdoc/generators/shtml_generator.rb:282:in `to_json': source
> sequence is illegal/malformed (JSON::GeneratorError)
> ../lib/sdoc/generators/shtml_generator.rb:282:in `gen_search_index'
> 
> can it be fixed?

Yep. Set
$KCODE = 'UTF-8' in your Rakefile (that's the way rails does)
or reinstall the gem (it now uses  -KU ruby option by default)
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to