2010-04-07, 04:34 PM
A client of mine is trying to convert his forum to MyBB but every post with accented characters cuts off.
For example:
Becomes:
When I dump that text from the merger module using an echo() I get:
Shouldn't encode_to_utf8() be keeping this as its proper text? Or is it possibly the bbcode parser, or utf8_unhtmlentities doing it?
The relevant line of code:
For example:
Quote:Questo forum è molto bello !
Becomes:
Quote:Questo forum
When I dump that text from the merger module using an echo() I get:
Quote:Questo forum � molto bello !
Shouldn't encode_to_utf8() be keeping this as its proper text? Or is it possibly the bbcode parser, or utf8_unhtmlentities doing it?
The relevant line of code:
$insert_data['message'] = encode_to_utf8($this->bbcode_parser->convert(utf8_unhtmlentities($data['body'])), "messages", "posts");