Ouard
Member
- Affected version
- 2.0.1
Hello,
We are changing from vBulletin 4 to Xenforo. You did a great job !
However, we have a problem with version XenForo 2.0.1.
Our database VB is encoded in latin1_swedish_ci.
During first import with version 2.0.0, there was no encoding problem for posts, threads, forums...
We tried an import with version 2.0.1, some fields are bad encoding (for example, title for forums - table xf_node).
We found in method XF\Import\DataManager, this test :
This test is true for a latin1 string, so method converts a second time the string if method is called a second time.
Then, the fields are converted 2 times.
Thank you for your answer
We are changing from vBulletin 4 to Xenforo. You did a great job !
However, we have a problem with version XenForo 2.0.1.
Our database VB is encoded in latin1_swedish_ci.
During first import with version 2.0.0, there was no encoding problem for posts, threads, forums...
We tried an import with version 2.0.1, some fields are bad encoding (for example, title for forums - table xf_node).
We found in method XF\Import\DataManager, this test :
PHP:
if (preg_match('/[\x80-\xff]/', $string))
This test is true for a latin1 string, so method converts a second time the string if method is called a second time.
Then, the fields are converted 2 times.
Thank you for your answer