title: Decoding error in django filebrowser 3.2 on linux
body: <h3>The error message:</h3>
  
  <pre><code>Traceback:
  File "/web/hvita_perlan/lib/python2.6/site-packages/django/core/handlers/base.py" in get_response
    111.                         response = callback(request, *callback_args, **callback_kwargs)
  File "/web/hvita_perlan/lib/python2.6/site-packages/django/contrib/admin/views/decorators.py" in _checklogin
    19.             return view_func(request, *args, **kwargs)
  File "/web/hvita_perlan/lib/python2.6/site-packages/django/views/decorators/cache.py" in _wrapped_view_func
    79.         response = view_func(request, *args, **kwargs)
  File "/web/hvita_perlan/lib/python2.6/site-packages/filebrowser/views.py" in browse
    99.         fileobject = FileObject(os.path.join(file_dir, file))
  File "/web/hvita_perlan/lib/python2.6/posixpath.py" in join
    70.             path += '/' + b
  
  Exception Type: UnicodeDecodeError at /admin/filebrowser/browse/
  Exception Value: 'ascii' codec can't decode byte 0xc3 in position 3: ordinal not in range(128)
  </code></pre>
  
  <blockquote>
    <p>The string that could not be encoded/decoded was: /1h����.j</p>
  </blockquote>
  
  <p>The file real filename is: <em>1hæð.jpg</em></p>
  
  <h3>some info:</h3>
  
  <pre><code>&gt; locale
  LANG=en_GB.UTF-8
  </code></pre>
  
  <p>-</p>
  
  <pre><code>&gt; python manage.py shell
  &gt;&gt;&gt; import locale
  &gt;&gt;&gt; locale.getlocale()
  ('en_GB', 'UTF8')
  
  &gt;&gt;&gt; import os
  &gt;&gt;&gt; os.stat('../uploads/_promotional/1hæð_fb_thumb.jpg')
  posix.stat_result(st_mode=33279, st_ino=788504L, st_dev=51713L, st_nlink=1, st_uid=0, st_gid=0, st_size=1629L, st_atime=1311176542, st_mtime=1311176542, st_ctime=1311177235)
  </code></pre>
  
  <p>As you can see everything works in shell but not in django filebrowser.</p>