Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with encoding and vb version #5

Open
TarantinoMariachi opened this issue Dec 8, 2020 · 3 comments
Open

Problem with encoding and vb version #5

TarantinoMariachi opened this issue Dec 8, 2020 · 3 comments

Comments

@TarantinoMariachi
Copy link

Hi there, I am having trouble with hebrew language: משחקי הנוסטלגיה לא פועלים כעת. אנא חזור בשלב מאוחר יותר.

There is some encoding problem, after conversion I get something like æëøåðé äí îâéòéí ìî÷åí àçø åîåôéòéí áå åàæ

I've vb 3.6.12. The collation at vb was latin_swedish_1, tried to convert, but with problems. I changed to utf8_bin, problem persists.
I tried to remove all vb_set_encoding_from_source, the converter runned better without it, but problem persisted.

And the vb_version doesnt seem to work with 3.6.12 since it removes the dots and makes 3612 that is bigger then 370

@gouarfig
Copy link
Owner

gouarfig commented Dec 8, 2020

I remember characters encoding was a nightmare. There's the vb/phpBB encoding + the database encoding and they can all be different.

I can certainly do a quick fix for the version number.
For the encoding it's very dependent on your installation I'm afraid. I remember it worked for a board using Cyrillic characters but I forgot which settings worked.

In the file includes/config.php, there's a setting $config['Mysqli']['charset']. Is it the same as the default encoding in the mysql database?

@TarantinoMariachi
Copy link
Author

TarantinoMariachi commented Dec 8, 2020

The line was commented:

// $config['Mysqli']['charset'] = 'utf8';

Since im not using latin no more, I'll uncomment and test again, since I converted the collation to utf8_bin to be the same as phpbb

Just so anyone comes by... It should be $config['Mysqli']['charset'] = 'utf-8'; orelse it will give an error: "Unknown encoding: utf8"

PS: I'll let you know if this works.

@TarantinoMariachi
Copy link
Author

TarantinoMariachi commented Dec 9, 2020

Didnt worked... :/ Still with bad chars

I'll try to iconv the database

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants