Parent Directory | Revision Log | Patch
revision 1.35 by jmalonzo, Wed Nov 5 10:31:48 2003 UTC | revision 1.36 by ScottDW, Wed Nov 5 18:03:47 2003 UTC | |
---|---|---|
# | Line 51 def parse(content, feed): | Line 51 def parse(content, feed): |
51 | if enc == '': | if enc == '': |
52 | match = xmlheaderRe.match(content) | match = xmlheaderRe.match(content) |
53 | if match: | if match: |
54 | enc = parser.channel['encoding'] = match.groups()[0].lower() | enc = parser.channel['encoding'] = match.group('encoding').lower() |
55 | else: | else: |
56 | enc = straw.utils.get_encoding() | enc = straw.utils.get_encoding() |
57 |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |