WebsiteBaker Community Forum

WebsiteBaker Support (2.10.x) => General Help & Support => Topic started by: ismaelmagaw on October 05, 2017, 12:06:05 PM

Title: Language error in the upgrade from 2.83 to 2.10
Post by: ismaelmagaw on October 05, 2017, 12:06:05 PM
I upgraded from version 2.8.3 to 2.10.0. It was excellent! However a problem arose in the buttons ... in some texts the accentuations were changing words ... for example where it appeared the ~ (til) or the sign of º some words have changed. In the admin tools the icon "settings & conditions!" Got all wrong, with errors ... as well as the pages where there were links. Is there any way to fix this?
Title: Re: Language error in the upgrade from 2.83 to 2.10
Post by: Gast on October 05, 2017, 12:11:13 PM
please give us an example with a screenshot
Title: Re: Language error in the upgrade from 2.83 to 2.10
Post by: Gast on October 05, 2017, 12:28:06 PM
a possible problem is maybe the wysiwyg-editor in some single modules like wysiwyg, news, bakery etc. older editors using htmlentities() to convert special chars like ~ or °
you can fix this directly in every section, correction of the content and save it again
or you change the wrong sign's directly in your database, but needs a long time to search if you not a expert
Title: Re: Language error in the upgrade from 2.83 to 2.10
Post by: ismaelmagaw on October 05, 2017, 12:53:10 PM
Images da linguagem textos alterados...
Title: Re: Language error in the upgrade from 2.83 to 2.10
Post by: Gast on October 05, 2017, 01:02:51 PM
thanks for the pictures   (Y)

same solution like my answer in the last post

go to the pages overview and use there the icon for page settings

(https://i.gyazo.com/ac6bed123efb3e78cb263378c985c10a.png)

now correct the page- and menu-title, and if needed also the filename, im my example it's everywhere the word "bookmarks"

(https://i.gyazo.com/d757f15a277b5b13709ab019246eade3.png)

then use the button save & back and go to the next page

Background for this: WB use utf8 as default charset, but the content of your database use a different charset
Title: Re: Language error in the upgrade from 2.83 to 2.10
Post by: ismaelmagaw on October 05, 2017, 01:05:02 PM
Thank you very much. The problem is that it's a lot of text ... I'm going to waste a lot of time altering .. Thanks
Title: Re: Language error in the upgrade from 2.83 to 2.10
Post by: ismaelmagaw on October 05, 2017, 01:23:44 PM
e na parte como corrijo? "organização e condições"
Title: Re: Language error in the upgrade from 2.83 to 2.10
Post by: ismaelmagaw on October 05, 2017, 01:29:02 PM
Is there no modolo or addons to ratify this situation? How do I change everything? I have the database in phpmyadmin is there that I have to change? Or in the web site tools themselves?
Title: Re: Language error in the upgrade from 2.83 to 2.10
Post by: Gast on October 05, 2017, 01:29:22 PM
i understand, but i see no other way's. closing the project or convert to utf8.
the PHP-Group make's a recommendation for UTF8 since PHP 5.5.x and now, the whole world with other charsets have to go in this direction. it doesnt matter, what kind of cms you use, the problem is everywhere or it comes in the next weeks or months, when the server use a actual php- and mysql-version

if you have the problem only for the titles, it's the fastest solution, if you change it manually. if you have it everywhere in your project, maybe a php-converter can help, but it need a new import of the corrected / converted database and without guaranty, that everything works without problems then. a php-converter is a job for a expert, maybe, you ask the DEV's for help

Quote
e na parte como corrijo? "organização e condições"

Where you have this? is it the name of a page or the title of the project?
normalize: edit page settings or project settings (wb-options)
Use the real name like organização e condições and save it. if the error comes back, the database table has the wrong collation and you have to set this to utf8_general_ci first