Switch to side-by-side view

--- a/Allura/allura/tests/functional/test_rest.py
+++ b/Allura/allura/tests/functional/test_rest.py
@@ -1,7 +1,9 @@
+# -*- coding: utf-8 -*-
 from datetime import datetime, timedelta
 
 from allura.tests import decorators as td
 from alluratest.controller import TestRestApiBase
+from allura.lib import helpers as h
 
 class TestRestHome(TestRestApiBase):
 
@@ -45,3 +47,16 @@
         r = self.api_get('/rest/p/test/')
         assert r.status_int == 200
 
+    def test_unicode(self):
+        self.app.post(
+            '/wiki/tést/update',
+            params={
+                'title':'tést',
+                'text':'sometext',
+                'labels':'',
+                'labels_old':'',
+                'viewable_by-0.id':'all'})
+        r = self.api_get('/rest/p/test/wiki/tést/')
+        assert r.status_int == 200
+        assert r.json['title'].encode('utf-8') == 'tést', r.json
+