<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>bbPress support forums Tag: utf8</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress support forums Tag: utf8</description>
<language>en</language>
<pubDate>Tue, 02 Dec 2008 06:24:29 +0000</pubDate>

<item>
<title>myu on "Accents in username"</title>
<link>http://bbpress.org/forums/topic/accents-in-username#post-19522</link>
<pubDate>Sun, 28 Sep 2008 04:04:30 +0000</pubDate>
<dc:creator>myu</dc:creator>
<guid isPermaLink="false">19522@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Will it be possible to upgrade to 1.0 when there're people registering with utf8 usernames?&#60;br /&#62;
(I'm still testing and editing with 0.9, and will need utf8 names)&#60;br /&#62;
Or will it be better to use 1.0 alpha?
&#60;/p&#62;</description>
</item>
<item>
<title>sambauers on "Accents in username"</title>
<link>http://bbpress.org/forums/topic/accents-in-username#post-19511</link>
<pubDate>Sat, 27 Sep 2008 13:24:17 +0000</pubDate>
<dc:creator>sambauers</dc:creator>
<guid isPermaLink="false">19511@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Great!
&#60;/p&#62;</description>
</item>
<item>
<title>meitershaker on "Accents in username"</title>
<link>http://bbpress.org/forums/topic/accents-in-username#post-19506</link>
<pubDate>Sat, 27 Sep 2008 09:44:11 +0000</pubDate>
<dc:creator>meitershaker</dc:creator>
<guid isPermaLink="false">19506@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;it works! =p thanks ;)
&#60;/p&#62;</description>
</item>
<item>
<title>sambauers on "Accents in username"</title>
<link>http://bbpress.org/forums/topic/accents-in-username#post-19496</link>
<pubDate>Sat, 27 Sep 2008 07:39:21 +0000</pubDate>
<dc:creator>sambauers</dc:creator>
<guid isPermaLink="false">19496@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;@ meitershaker&#60;/p&#62;
&#60;p&#62;There was a bug in the display name implementation. First, update to the very latest trunk. There is a chance that you might have a user meta item for some users called 'display_name'. This will be stomping on the real setting in the user table. Use this SQL query to clear out the bad data.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;DELETE FROM bb_usermeta WHERE meta_key = &#38;#39;display_name&#38;#39;;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Once you've updated to the latest trunk and done that, you should be able to use any UTF-8 character in display names.
&#60;/p&#62;</description>
</item>
<item>
<title>meitershaker on "Accents in username"</title>
<link>http://bbpress.org/forums/topic/accents-in-username#post-19448</link>
<pubDate>Thu, 25 Sep 2008 13:47:50 +0000</pubDate>
<dc:creator>meitershaker</dc:creator>
<guid isPermaLink="false">19448@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;@ sam&#60;br /&#62;
&#34;In any case, the solution in the future is to change your display name after registration. Display names are UTF-8 friendly. &#34;&#60;/p&#62;
&#60;p&#62;doesn't work!! &#60;/p&#62;
&#60;p&#62;me, 2 weeks ago:&#60;br /&#62;
&#34;but for choose a name to display on public (option in profil), a name with accents doesn't work ... &#34;
&#60;/p&#62;</description>
</item>
<item>
<title>myu on "Accents in username"</title>
<link>http://bbpress.org/forums/topic/accents-in-username#post-19447</link>
<pubDate>Thu, 25 Sep 2008 13:30:07 +0000</pubDate>
<dc:creator>myu</dc:creator>
<guid isPermaLink="false">19447@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Thanks for reply.&#60;br /&#62;
Me, I personally don't mind using alphabet for username, but have to think of target audience. Got me worried a bit.  :)&#60;/p&#62;
&#60;p&#62;I hope in the future version there's some sort of conversion mechanism for people that's already registered using utf-8 encoded username. (pretty please..)
&#60;/p&#62;</description>
</item>
<item>
<title>sambauers on "Accents in username"</title>
<link>http://bbpress.org/forums/topic/accents-in-username#post-19432</link>
<pubDate>Thu, 25 Sep 2008 00:45:13 +0000</pubDate>
<dc:creator>sambauers</dc:creator>
<guid isPermaLink="false">19432@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;@myu&#60;/p&#62;
&#60;p&#62;It has to do with people using different character encoding for their database tables other than UTF-8. I'm probably overstating the threat as the same problem exists on all data input and we filter it out the problem there. I was also just reviewing WordPress injection attacks of days gone by, so it was on my mind.&#60;/p&#62;
&#60;p&#62;In any case, the solution in the future is to change your display name after registration. Display names are UTF-8 friendly.
&#60;/p&#62;</description>
</item>
<item>
<title>myu on "Accents in username"</title>
<link>http://bbpress.org/forums/topic/accents-in-username#post-19401</link>
<pubDate>Tue, 23 Sep 2008 14:23:37 +0000</pubDate>
<dc:creator>myu</dc:creator>
<guid isPermaLink="false">19401@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;sambauers,&#60;br /&#62;
may I ask why non-ascii chars for user name can make the threats of SQL injection etc greater?
&#60;/p&#62;</description>
</item>
<item>
<title>sambauers on "Accents in username"</title>
<link>http://bbpress.org/forums/topic/accents-in-username#post-19400</link>
<pubDate>Tue, 23 Sep 2008 11:39:21 +0000</pubDate>
<dc:creator>sambauers</dc:creator>
<guid isPermaLink="false">19400@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;It should be noted that using non ascii characters in bbPress is not supported and you could open yourself to a whole range of potential SQL injection threats by doing so.&#60;/p&#62;
&#60;p&#62;WordPress has never supported non-ascii characters in usernames and has compensated by allowing display names, bbPress 1.0 now allows display names as well for the same reason.
&#60;/p&#62;</description>
</item>
<item>
<title>meitershaker on "Accents in username"</title>
<link>http://bbpress.org/forums/topic/accents-in-username#post-19381</link>
<pubDate>Mon, 22 Sep 2008 14:37:49 +0000</pubDate>
<dc:creator>meitershaker</dc:creator>
<guid isPermaLink="false">19381@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;my problem is already here :( little help please :p
&#60;/p&#62;</description>
</item>
<item>
<title>amirhabibi on "Accents in username"</title>
<link>http://bbpress.org/forums/topic/accents-in-username#post-19135</link>
<pubDate>Wed, 10 Sep 2008 14:06:56 +0000</pubDate>
<dc:creator>amirhabibi</dc:creator>
<guid isPermaLink="false">19135@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;meitershaker: ;-) be patient!!
&#60;/p&#62;</description>
</item>
<item>
<title>meitershaker on "Accents in username"</title>
<link>http://bbpress.org/forums/topic/accents-in-username#post-19051</link>
<pubDate>Sun, 07 Sep 2008 17:45:25 +0000</pubDate>
<dc:creator>meitershaker</dc:creator>
<guid isPermaLink="false">19051@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;amir: yes :p&#60;/p&#62;
&#60;p&#62;ps: et plus précisément de la 1.0 trunk :p
&#60;/p&#62;</description>
</item>
<item>
<title>amirhabibi on "Accents in username"</title>
<link>http://bbpress.org/forums/topic/accents-in-username#post-19050</link>
<pubDate>Sun, 07 Sep 2008 17:41:53 +0000</pubDate>
<dc:creator>amirhabibi</dc:creator>
<guid isPermaLink="false">19050@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;meitershaker : are you talking about the 1.0 alpha ?
&#60;/p&#62;</description>
</item>
<item>
<title>meitershaker on "Accents in username"</title>
<link>http://bbpress.org/forums/topic/accents-in-username#post-19039</link>
<pubDate>Sun, 07 Sep 2008 11:10:46 +0000</pubDate>
<dc:creator>meitershaker</dc:creator>
<guid isPermaLink="false">19039@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;great it works! but for choose a name to display on public (option in profil), a name with accents doesn't work ...
&#60;/p&#62;</description>
</item>
<item>
<title>amirhabibi on "Accents in username"</title>
<link>http://bbpress.org/forums/topic/accents-in-username#post-19037</link>
<pubDate>Sun, 07 Sep 2008 08:52:46 +0000</pubDate>
<dc:creator>amirhabibi</dc:creator>
<guid isPermaLink="false">19037@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Thanks for your replies. After reading / testing your links, I found a quick working fix. Here's the plugin code :&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
/*
Plugin Name: UTF-8 usernames
Plugin URI:
Description: This plugin enable utf-8 characters in usernames. Mbstring must be enabled in the php.ini.
Author: Amir Habibi
Author URI: &#60;a href=&#34;http://www.residence-mixte.com/&#34; rel=&#34;nofollow&#34;&#62;http://www.residence-mixte.com/&#60;/a&#62;
Version: 0.1
*/ 

function sanitize_user_mbstring( $raw_username, $username, $strict = false ) {
	$raw_username = $username;
	$username = strip_tags($username);
	// Kill octets
	$username = preg_replace(&#38;#39;&#124;%([a-fA-F0-9][a-fA-F0-9])&#124;&#38;#39;, &#38;#39;&#38;#39;, $username);
	$username = preg_replace(&#38;#39;/&#38;#38;.+?;/&#38;#39;, &#38;#39;&#38;#39;, $username); // Kill entities

	// Usage of &#38;#39;mb_ereg_replace&#38;#39; instead of &#38;#39;preg_replace&#38;#39; to preserve accents.
	if ( $strict )
		$username = mb_ereg_replace(&#38;#39;&#124;[^a-z0-9 _.\-@]&#124;i&#38;#39;, &#38;#39;&#38;#39;, $username);

	return apply_filters(&#38;#39;sanitize_user_mbstring&#38;#39;, $username, $raw_username, $strict);

}

add_action(&#38;#39;sanitize_user&#38;#39;, &#38;#39;sanitize_user_mbstring&#38;#39;, 0, 3);
?&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;To work, you must have mstring enabled in your php.ini.&#60;/p&#62;
&#60;p&#62;Hope this will help !&#60;/p&#62;
&#60;p&#62;chrishajer : our board is in french
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Accents in username"</title>
<link>http://bbpress.org/forums/topic/accents-in-username#post-19031</link>
<pubDate>Sun, 07 Sep 2008 05:24:58 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">19031@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;There's also plugins like this which can easily be modified:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://bbpress.ru/files/plugins/CyrNickname.zip&#34; rel=&#34;nofollow&#34;&#62;http://bbpress.ru/files/plugins/CyrNickname.zip&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://trac.bbpress.org/attachment/ticket/452/usernames_i18n_fix.php&#34; rel=&#34;nofollow&#34;&#62;http://trac.bbpress.org/attachment/ticket/452/usernames_i18n_fix.php&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "Accents in username"</title>
<link>http://bbpress.org/forums/topic/accents-in-username#post-19030</link>
<pubDate>Sun, 07 Sep 2008 05:17:24 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">19030@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;This is the latest discussion I heard about the issue:&#60;br /&#62;
&#60;a href=&#34;http://bbpress.org/forums/topic/diacritic-letters-i-username-like-goran&#34; rel=&#34;nofollow&#34;&#62;http://bbpress.org/forums/topic/diacritic-letters-i-username-like-goran&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;What is the primary language of your forum?
&#60;/p&#62;</description>
</item>
<item>
<title>amirhabibi on "Accents in username"</title>
<link>http://bbpress.org/forums/topic/accents-in-username#post-19020</link>
<pubDate>Sat, 06 Sep 2008 21:04:32 +0000</pubDate>
<dc:creator>amirhabibi</dc:creator>
<guid isPermaLink="false">19020@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Hi! When you try to register a name containing accents, the accents are stripped.&#60;br /&#62;
Any solution ?&#60;br /&#62;
(0.9.0.2 &#38;#38; the bug is visible on this forum)
&#60;/p&#62;</description>
</item>
<item>
<title>Anonymous on "Spanish characters aren't shown"</title>
<link>http://bbpress.org/forums/topic/spanish-characters-arent-shown#post-17242</link>
<pubDate>Sat, 12 Jul 2008 23:57:25 +0000</pubDate>
<dc:creator>Anonymous</dc:creator>
<guid isPermaLink="false">17242@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Para aquéllos que quieran hacer la locura que he intentado, y por ahora me va saliendo:&#60;/p&#62;
&#60;p&#62;1. Migrar un foro phpBB a bbPress (sólo desde phpBB2)&#60;br /&#62;
2. Integrar WP y BBPress.&#60;/p&#62;
&#60;p&#62;(Se puede)&#60;/p&#62;
&#60;p&#62;No debe aparecer ninguna especificación de codificación ni en bb-config.php, NI EN LA SECCIÓN ADMIN de BBPress. Es decir: quitad utf8 en la pestaña &#34;opciones&#34; &#34;Wordpress Integration&#34; y del archivo bb-config.php.&#60;br /&#62;
Me ha costado un mes.
&#60;/p&#62;</description>
</item>
<item>
<title>olgaberrios on "Spanish characters aren't shown"</title>
<link>http://bbpress.org/forums/topic/spanish-characters-arent-shown#post-16526</link>
<pubDate>Fri, 30 May 2008 11:19:56 +0000</pubDate>
<dc:creator>olgaberrios</dc:creator>
<guid isPermaLink="false">16526@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Solved! What a silly thing!!&#60;/p&#62;
&#60;p&#62;Change the config.php file&#60;/p&#62;
&#60;p&#62;this line...&#60;br /&#62;
define(’BBDB_CHARSET’, ”);&#60;/p&#62;
&#60;p&#62;turns to...&#60;br /&#62;
define(’BBDB_CHARSET’, ‘utf8′);&#60;/p&#62;
&#60;p&#62;Thank you, everybody!!
&#60;/p&#62;</description>
</item>
<item>
<title>olgaberrios on "Spanish characters aren't shown"</title>
<link>http://bbpress.org/forums/topic/spanish-characters-arent-shown#post-16428</link>
<pubDate>Fri, 23 May 2008 19:15:54 +0000</pubDate>
<dc:creator>olgaberrios</dc:creator>
<guid isPermaLink="false">16428@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Tengo el encoding del navegador en iso-8859-1 y sigo viendo los símbolos raros. Tampoco entiendo mucho sobre esto...&#60;/p&#62;
&#60;p&#62;PD.: Probablemente todo el mundo habla castellano aquí y no se atreve a decirlo. XD
&#60;/p&#62;</description>
</item>
<item>
<title>Detective on "Spanish characters aren't shown"</title>
<link>http://bbpress.org/forums/topic/spanish-characters-arent-shown#post-16419</link>
<pubDate>Fri, 23 May 2008 15:41:16 +0000</pubDate>
<dc:creator>Detective</dc:creator>
<guid isPermaLink="false">16419@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;If you change the browser encoding to iso-8859-1 it works. Maybe it's a encoding issue.&#60;/p&#62;
&#60;p&#62;pd = ¡qué bueno saber que no soy el único que habla castellano aquí :p !
&#60;/p&#62;</description>
</item>
<item>
<title>olgaberrios on "Spanish characters aren't shown"</title>
<link>http://bbpress.org/forums/topic/spanish-characters-arent-shown#post-16418</link>
<pubDate>Fri, 23 May 2008 11:33:51 +0000</pubDate>
<dc:creator>olgaberrios</dc:creator>
<guid isPermaLink="false">16418@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;This is a test&#60;br /&#62;
Esto es una prueba&#60;br /&#62;
¿ ó ú ñ á é ?
&#60;/p&#62;</description>
</item>
<item>
<title>olgaberrios on "Spanish characters aren't shown"</title>
<link>http://bbpress.org/forums/topic/spanish-characters-arent-shown#post-16405</link>
<pubDate>Thu, 22 May 2008 18:43:32 +0000</pubDate>
<dc:creator>olgaberrios</dc:creator>
<guid isPermaLink="false">16405@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Thank you! But... I have no plugins installed on BBPress. I have desactivaed all plugins on the blog and Spanish characters aren't shown...
&#60;/p&#62;</description>
</item>
<item>
<title>sambauers on "Spanish characters aren't shown"</title>
<link>http://bbpress.org/forums/topic/spanish-characters-arent-shown#post-16199</link>
<pubDate>Tue, 13 May 2008 13:37:50 +0000</pubDate>
<dc:creator>sambauers</dc:creator>
<guid isPermaLink="false">16199@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Someone posted recently with the same problem. Apparently there is a plugin that is causing whitespace to be sent before the headers.&#60;/p&#62;
&#60;p&#62;Try deactivating plugins until you find which one, or dig deeper into the recent topics here to find the problem.
&#60;/p&#62;</description>
</item>
<item>
<title>olgaberrios on "Spanish characters aren't shown"</title>
<link>http://bbpress.org/forums/topic/spanish-characters-arent-shown#post-16197</link>
<pubDate>Tue, 13 May 2008 07:50:01 +0000</pubDate>
<dc:creator>olgaberrios</dc:creator>
<guid isPermaLink="false">16197@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Hi! This is my bbpress (http://www.voluntariado.tv/bbpress/). When I log in, the Spanish characters are ok. When I log off, they aren't shown. A questiong mark appears instead. What's wrong?
&#60;/p&#62;</description>
</item>
<item>
<title>ezapmar on "Using UTF-8 characters and spaces in user names"</title>
<link>http://bbpress.org/forums/topic/using-utf-8-characters-and-spaces-in-user-names#post-16109</link>
<pubDate>Fri, 09 May 2008 22:37:01 +0000</pubDate>
<dc:creator>ezapmar</dc:creator>
<guid isPermaLink="false">16109@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I would like to let the users use the other UTF-8 characters (like ş, ü, ç) and backspace in user names.&#60;/p&#62;
&#60;p&#62;How can i do it?&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
</item>
<item>
<title>oledole on "character encoding in use display name"</title>
<link>http://bbpress.org/forums/topic/character-encoding-in-use-display-name#post-11329</link>
<pubDate>Mon, 08 Oct 2007 11:28:38 +0000</pubDate>
<dc:creator>oledole</dc:creator>
<guid isPermaLink="false">11329@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I have changed the encoding in my database, from latin 1 to utf8, and everything is ok except for the display of the usernames set in wordpress &#34;display name&#34; and brougt in to bbpress with the &#34;use dispaly name&#34;-plugin. When I use special characters like swedish å, ä or ö, or e.g. é, they show up like �.&#60;br /&#62;
I notice that in the bbpress database, special characters that I use in posts are stored with what I think is utf8 in the DB (e.i. they look strange), but/and they all look ok when displayed in the forum. Names in the wp_users &#34;display_name&#34; however are stored with the latin character but show up wrong.&#60;/p&#62;
&#60;p&#62;The conversion was made following this manual: &#60;a href=&#34;http://www.mydigitallife.info/2007/06/23/how-to-convert-character-set-and-collation-of-wordpress-database/&#34; rel=&#34;nofollow&#34;&#62;http://www.mydigitallife.info/2007/06/23/how-to-convert-character-set-and-collation-of-wordpress-database/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Any thoughts on this, anyone?
&#60;/p&#62;</description>
</item>
<item>
<title>rosebud on "UTF-8 display problems"</title>
<link>http://bbpress.org/forums/topic/utf-8-display-problems#post-10417</link>
<pubDate>Thu, 23 Aug 2007 03:34:20 +0000</pubDate>
<dc:creator>rosebud</dc:creator>
<guid isPermaLink="false">10417@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I am having problems with the character encoding of my bbpress install. I have it integrated with wordpress and when I use the &#34;Latest bbpress discussions&#34; plugin I see the weird characters you get when you mix collations and charsets.&#60;/p&#62;
&#60;p&#62;I have wordpress in utf-8 thanks to this plugin: &#60;a href=&#34;http://g30rg3x.com/utf8-database-converter/&#34;&#62;utf8 dtaabase converter&#60;/a&#62;. &#60;/p&#62;
&#60;p&#62;Before it I had it set to utf but still, the database was showing weird characters (the collation was alright though). So this is probably a MySQL problem somewhere.&#60;/p&#62;
&#60;p&#62;Should I try to adapt the wordpress utf8 converter for bbpress?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
