Although the ruby test failed in some iconv conversion, but i don't
think it's a problem of ruby. It's the problem of Solaris iconv, when
we run iconv in command line, the same conversion failed either.
Add SUNWiconv-extra as a package dependency can just solve part of the
problem of code set conversion, and how about other iconv modules such
as UNWiconv-extra2 and SUNWiconv-unicode? BTW, SUNWiconv-extra is not
installed in nv107 by default, I wondered if we can add it as package
dependency for ruby.
It seems Gnu-iconv gives better support than the Solaris-iconv, but it's
not include in solaris nv yet.
Regards
Chris
Prashant Srinivasan wrote:
> Can we add SUNWiconv-extra as a package dependency? The following
> conversion doesn't work if it's not in there.
>
> require 'iconv'
> iconv = Iconv.new('SHIFT_JIS', 'EUC-JP')
>
> thanks
> -ps
>
>
> Chris Zhu wrote:
>> Hi all,
>>
>> Here's the webrev for CR6764580 & CR6788394, see
>> http://cr.opensolaris.org/~chriszhu/ruby187_gem131/
>> "6764580 RubyGems needs updating to work with the latest versions of
>> Ruby on Rails"
>> "6788394 Upgrade Ruby to 1.8.7",
>> Now ruby 1.8.7 and rubygem 1.3.1 are widely used in most of the web
>> apps, we'd like to put both of them into webstack, please help to
>> review.
>> It depends on the rubygem upgrade to 1.3.1 which has been raised by
>> Amanda, following link gives more detail info:
>> http://cr.opensolaris.org/~tekgrrl/gems131-CR6764580-2/
>> http://www.opensolaris.org/jive/thread.jspa?threadID=89892&tstart=0,
>> then we added "upgrade ruby to 1.8.7" into the same workspace.
>>
>> Regards
>> Chris
>