Title: PHP 5.4 huge problems with encoding and visual editor
Last modified: August 21, 2016

---

# PHP 5.4 huge problems with encoding and visual editor

 *  [huskyblack](https://wordpress.org/support/users/huskyblack/)
 * (@huskyblack)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/php-54-huge-problems-with-encoding-and-visual-editor/)
 * 1. I got email that I need to upgrade from php5.2 to 5.4. And I did that.
    2.
   After upgrade to PHP 5.4, visual editor was not working, but if I switched back
   to 5.2 everything worked fine again. But hosting is moving their servers to 5.4
   so I also must adjust. 3. After lots of diagnostic _(updating everything, off-
   on every plugin, adding concatenate\_script function to config.php….)_ and a 
   lot of help from hosting provider we located error in the encoding I used. It
   was windows-1250, which was THE only encoding that displayed Croatian language
   as it should be. 4. The problem is that **windows-1250 is NOT supported in php
   5.4**, so they suggested iso-8859-1 but that does not show my language properly.
   5. We tried iso-8859-2, which is official replacement for windows-1250 but it
   is not working at all. Error log says it is not supperted in php5.4 6. Only thing
   left to do was to go back to UTF-8, which is not good , whatever anybody say,
   and now I have huge problem with complete database and how the site is displayed.
   7. Lot of croatian characters are not displayed at all, even though they should
   be. 8. Visual editor does not work anymore att all. I can post new text, but 
   cannot edit existing posts, which was the problem I started from.
 * I have several such sites and all of them are affected. Example is eauti.com.
 * Does anybody have the solution for this? Is there a way to recode database to
   UTF-8, or any other solution? There are several years of blog posts and now all
   of them are useles because of one update.

Viewing 1 replies (of 1 total)

 *  [theologosnet](https://wordpress.org/support/users/theologosnet/)
 * (@theologosnet)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/php-54-huge-problems-with-encoding-and-visual-editor/#post-4508147)
 * To recode database to UTF-8, you need to use the phpmyadmin. Or you save your
   database data and then edit every occasion that needs code change.
 * Just to give your some clues as to how to start.

Viewing 1 replies (of 1 total)

The topic ‘PHP 5.4 huge problems with encoding and visual editor’ is closed to new
replies.

## Tags

 * [charset](https://wordpress.org/support/topic-tag/charset/)
 * [encoding](https://wordpress.org/support/topic-tag/encoding/)
 * [visual editor](https://wordpress.org/support/topic-tag/visual-editor/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [theologosnet](https://wordpress.org/support/users/theologosnet/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/php-54-huge-problems-with-encoding-and-visual-editor/#post-4508147)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
