X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/c99d26030e6ddd7a21932e98e40a8df7d896886d..d98296d1db02febfa7cc4fbe7f304ca2a9858fef:/IkiWiki/Plugin/openid.pm

diff --git a/IkiWiki/Plugin/openid.pm b/IkiWiki/Plugin/openid.pm
index b1a9a7a15..fae9fb77f 100644
--- a/IkiWiki/Plugin/openid.pm
+++ b/IkiWiki/Plugin/openid.pm
@@ -211,7 +211,8 @@ sub auth ($$) {
 				}
 			}
 			if (defined $nickname) {
-				$session->param(nickname => $nickname);
+				$session->param(nickname =>
+					Encode::decode_utf8($nickname));
 			}
 		}
 		else {