Hi,
When I edit the text in section with 'simplr page builder' and put the cyrilic characters it's ok for first save. When I edit any section next time, the cyrilic content change to chaotic characters like this 'и��о�и�а'.
Can you please give me instructions how I can change the Simplr Page Builder charset to utf-8?
Thanks,
Hi,
You can try this way:
- In file simplr_page_builder.admin.inc (modules/simplr_page_builder/inc/simplr_page_builder.admin.inc)
- Line 69, function spb_save_page() please add:
drupal_add_http_header('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');
Please inspecting (F12),
1. click on "network" tab
2. click on "Clear" button
3. Edit your paragraph, where the error occurs, using Simplr Pagebuilder
4. Save
5. Then you can see the path. Just click on the path.
6. In the right sidebar, click on tab Header
7. check your PHP version
8. check Charset
If PHP version < 5.4 or your charset is not UTF-8, the error will occur.
((Please use Chrome))
Thanks, I upgrade PHP Version on my host server from 5.3 to 5.4 and now works fine with cyrilic content.
But after I upgrade the PHP version I get this warning messages:
Warning: uasort() expects parameter 2 to be a valid callback, no array or string given in webform_components() (line 4586 of .../sites/all/modules/webform/webform.module).
Warning: array_walk_recursive() expects parameter 2 to be a valid callback, no array or string given in WebformConditionals->executeConditionals() (line 317 of .../sites/all/modules/webform/includes/webform.webformconditionals.inc).
I update the webform module but again get the same warning message. Any solution?
Thanks,
Hi,
Please try to use another webform version cause webform is a contrib module and we can not customise your code
I upgrade my PHP version from 5.4 to 5.6 and the problem is solved.
Thanks
Thank you for your feedback