Commit Graph

8 Commits

Author SHA1 Message Date
nobu 2eac4d0fb4 * lib/rexml/encoding.rb (encoding=): give priority to particular
conversion to iconv.  [ruby-core:06520]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-09 14:31:47 +00:00
kou ee6e23caf6 * lib/rexml/encodings/SHIFT_JIS.rb: fixed LoadError bug. [ruby-core:3958]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-19 15:19:43 +00:00
ser 96439f2a4a Merged in the changes from BSD bug report. shift-jis is now shift_jis, in
accordance with IANA


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-13 11:50:13 +00:00
ser c7138f1656 REXML changes
* The main purpose for this change is to get a fix in for nasty bug in XPath.
  In the new code for the descendant-or-self axis, the document order code
  was calling the wrong method to do node comparisons, causing a terrible
  overhead that slowed the axis down to the point where it was unusable.
  This is a common axis, also known as '//', so this fix is critical.
* Using Element#text= on a non-Text, non-String argument caused an error.
  This has been changed so that the behavior is like puts() -- to_s() is
  called on the object first.
* Refactored the pretty-printing code a little.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-02 03:53:58 +00:00
nobu bd00e2118c * lib/rexml/encodings/SHIFT_JIS: wrong library name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-16 22:48:25 +00:00
ser b84ebdcb05 Fixed Issue7: DocType with external IDs was not being quoted.
SHIFT_JIS now merely includes Shift-JIS


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-16 21:42:10 +00:00
matz 46bf621737 * eval.c (ruby_init): set ruby_running to true after
initialization.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-17 05:23:54 +00:00
matz 0f33529f63 * rename 'Shift-JIS' to 'SHIFT-JIS'
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-11 05:26:30 +00:00