It shouldn’t be because I’ve seen international languages (including Japanese) posted on testbp.org.
Does it work with the default theme?
Have you set your meta content-type tag to utf-8 in your template?
Yep, utf-8 is set in the MU backend, and I’m showing
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
in the head.
Switched back to default theme from my childtheme and posted non-English content: same issue. Weird.
Ahh… didn’t read the thread title! You said it works for activity items and not forum posts! D’oh!
Try creating a new forum thread on testbp.org using a different language and see what happens.
Then report back.
Hmm. Getting an error message on thread creation at testbp.org no matter what I do.
Tried it as a reply to an existing thread, and can confirm unicode’s borked.
Here: http://testbp.org/groups/just-trying/forum/topic/xcv/#post-113
Hmm… can you check to see if the bbPress database is using some variation of utf8?
Also try looking through some threads on bbPress.org:
https://bbpress.org/forums/topic/internationalization-after-installation
https://bbpress.org/forums/topic/wrong-charset-cannot-specify-utf-8#post-3751
Would be great if you posted this on Trac, stwc!
Sure, I’ll post a ticket to trac and try and have a look at the bbpress stuff.
Tried adding the .htaccess line from that second thread. No joy.
bb-config.php is using utf-8
define( 'BBDB_CHARSET', 'utf8' );
Oh dear. In phpAdmin, I see that wp_bb_posts is using latin1_swedish_ci as it’s collation, for some unknown reason. Is that germane? I’m rapidly getting out of my depth here.
It’s a known bug. I’ve commented on your trac ticket.
Thanks, DJPaul.
In the trac ticket you said
Please would you confirm what character set the bbPress database tables have. Is it latin1?
If that was directed to me, could you (this is embarassing) tell me how to do that? I know my way around phpMyadmin more or less, but not sure where to look.
It appears that the default bbForum tables have a strange latin1 swedish Collation set, that will not work for most people.
You can use phpmyadmin or some other tool to connect to the database and manually set a different Collation, like utf8_general_ci.
To do this, you have to connect to phpmyadmin, then select the database, then select the tables one by one, click on structure, notice the swedish Collation, click on Change [ the pencil like icon ] and select utf8_general_ci from the list.
I’m sure there’s a more automated way to do this, but there are only about a dozen entries to change so I did it by hand.
It probably is a bug inside the normal installation, it should be set to utf8_general_ci by default, not swedish.
I hope it works for you, I just did this and it fixed my problems
God Bless.