#4 umlaut-code %FC ....

closed
nobody
None
5
2005-07-03
2005-06-06
Anonymous
No

we use ISO-Codes in URL e.g.:
http://jaferien.de/uebersicht/43/M%FCnchen/Reisen-H.html

and its error:

Walking DIRECTORY "/home/j/jaferien.de/public_html/"
Traceback (most recent call last):
File "sitemap_gen.py", line 1201, in ?
sitemap.Generate()
File "sitemap_gen.py", line 832, in Generate
input.ProduceURLs(self.ConsumeURL)
File "sitemap_gen.py", line 585, in ProduceURLs
os.path.walk(self._path, PerFile, None)
File "/usr/local/lib/python2.4/posixpath.py", line
290, in walk
func(arg, top, names)
File "sitemap_gen.py", line 581, in PerFile
consumer(url, False)
File "sitemap_gen.py", line 875, in ConsumeURL
hash = url.MakeHash()
File "sitemap_gen.py", line 299, in MakeHash
return md5.new(self.loc).digest()
UnicodeEncodeError: 'ascii' codec can't encode
character u'\xfc' in position 41: ordinal not in range(128)

a website without 'umlauten' works properly
(digitalelectronic.de).

what can i do?

thanks for sitemap_gen

jens

Discussion

  • jensk
    jensk
    2005-06-09

    Logged In: YES
    user_id=1293819

    Haben keine anderen deutschen Google-sitemap-ersteller
    dieses Problem??

     
  • Matt Warden
    Matt Warden
    2005-06-09

    Logged In: YES
    user_id=313828

    see my comments on your bug submission. do they help?

     
  • Wyvern
    Wyvern
    2005-07-03

    • status: open --> closed
     
  • Wyvern
    Wyvern
    2005-07-03

    Logged In: YES
    user_id=1281107

    I'm going to go ahead and close this issue -- it should be
    fixed in the 1.1 version of the script.

    If you're still having troubles, I'd urge you to browse or
    question the user group for Sitemaps.

    http://groups-beta.google.com/group/google-sitemaps