source:
extensions/gsdl-video/trunk/installed/cmdline/lib/ruby/1.8/rexml/encodings/UTF-8.rb@
18425
Last change on this file since 18425 was 18425, checked in by , 15 years ago | |
---|---|
File size: 268 bytes |
Line | |
---|---|
1 | module REXML |
2 | module Encoding |
3 | def encode_utf8 content |
4 | content |
5 | end |
6 | |
7 | def decode_utf8(str) |
8 | str |
9 | end |
10 | |
11 | register(UTF_8) do |obj| |
12 | class << obj |
13 | alias decode decode_utf8 |
14 | alias encode encode_utf8 |
15 | end |
16 | end |
17 | end |
18 | end |
Note:
See TracBrowser
for help on using the repository browser.