Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136355 - ruby-1.8.4-r1 - REXML module corrupts UTF-8 data
Summary: ruby-1.8.4-r1 - REXML module corrupts UTF-8 data
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-10 20:53 UTC by Eli Venter
Modified: 2006-06-13 07:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eli Venter 2006-06-10 20:53:15 UTC
As mentioned at the following link:

https://www.zarb.org/pipermail/booh-discuss/2006-February/000146.html

Using the REXML module with UTF-8 chars can corrupt data. Running the simple test file from the above link shows the current stable ruby has this bug.

$ epm -q ruby
ruby-1.8.4-r1
$ ruby t.rb
andr
Comment 1 Eli Venter 2006-06-10 20:53:15 UTC
As mentioned at the following link:

https://www.zarb.org/pipermail/booh-discuss/2006-February/000146.html

Using the REXML module with UTF-8 chars can corrupt data. Running the simple test file from the above link shows the current stable ruby has this bug.

$ epm -q ruby
ruby-1.8.4-r1
$ ruby t.rb
andré is nice
andré is nice
andré is nice

Solution used to be use ruby 1.8.2 but that was just removed from portage.
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2006-06-13 05:38:46 UTC
Is this fixed in a more recent version than 1.8.4-r3 ?

There have been security vulnerabilities issues for < 1.8.3, so we can't easily revert.
Comment 3 Eli Venter 2006-06-13 07:00:18 UTC
Hadn't tried it until now. It does appear to be fixed in ruby-1.8.4.20060529