867: description (and other fields) do not accept german umlauts

volle*****@gmai***** (Google Code) (Is this you? Claim this profile.)
April 24, 2009
What's the URL of the page containing the problem?
confidential :)
but most recent reviewboard version (1.0 alpha 2)

What steps will reproduce the problem?
1. create review/edit review
2. add a german umlaut into a field (e.g. description) like: äöüß
3. try saving

What is the expected output? What do you see instead?
expect save, see error 500 (see attachment)

What operating system are you using? What browser?
ubuntu 8.04 - ff3.0.5

Please provide any additional information below.

have tried the fields 'description' and commenting, but both dont work,
producing the same error. I also tried to set the language in site-config
(u'locale_language_code': u'de-de'), but that didnt help either :(
Environment:
Request Method: POST
Request URL: http://review.xxxxx.com/api/json/reviewrequests/14/draft/set/description/
Django Version: 1.0.2 final
Python Version: 2.4.4
Installed Applications:
['django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.markup',
 'django.contrib.sites',
 'django.contrib.sessions',
 'djblets.datagrid',
 'djblets.feedview',
 'djblets.siteconfig',
 'djblets.util',
 'djblets.webapi',
 'reviewboard.accounts',
 'reviewboard.admin',
 'reviewboard.changedescs',
 'reviewboard.diffviewer',
 'reviewboard.iphone',
 'reviewboard.reports',
 'reviewboard.reviews',
 'reviewboard.scmtools',
 'reviewboard.webapi',
 'django_evolution']
Installed Middleware:
('django.middleware.gzip.GZipMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.middleware.doc.XViewMiddleware',
 'django.middleware.http.ConditionalGetMiddleware',
 'django.middleware.locale.LocaleMiddleware',
 'django.contrib.sessions.middleware.SessionMiddlew
#1 volle*****@gmai***** (Google Code) (Is this you? Claim this profile.)
fyi: the bug still persists in version 1.0 alpha 4
chipx86
#2 chipx86
Did you great your database with UTF-8? Or is it latin1?

Review Board fully supports UTF-8, but it will break if your database isn't set to
support it.
  • +NeedInfo
#3 volle*****@gmai***** (Google Code) (Is this you? Claim this profile.)
ah well, that was the only and last placed i didnt look for encoding :)
i set the encoding of the database to utf8 (and upgraded the board to 1.0beta2). now
it works flawlessly.

thx chip! :)

p.s. sorry for late answer.
chipx86
#4 chipx86
Glad it works!
  • -NeedInfo
    +NotABug