Title: PHP Serbian strings
Last modified: January 31, 2019

---

# PHP Serbian strings

 *  [zmihailo](https://wordpress.org/support/users/zmihailo/)
 * (@zmihailo)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/php-serbian-strings/)
 * I use this to display date on my WordPress website:
 *     ```
        <?php date_default_timezone_set('Europe/Belgrade');
                                           setlocale(LC_ALL, 'SR', 'rs'); echo utf8_decode(ucwords(strftime("%A, %d. %B %Y.")));?>
       ```
   
 * But it does not display č.
 * I tried to change to utf8 in phpmyadmin and it does not work.
 * utf8_decode not working
    utf8_encode not working.
    -  This topic was modified 7 years, 3 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [orero](https://wordpress.org/support/users/orero/)
 * (@orero)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/php-serbian-strings/#post-11157331)
 * Hi,
 * Have you tried to use iconv instead of utf8_decode?
 *  Thread Starter [zmihailo](https://wordpress.org/support/users/zmihailo/)
 * (@zmihailo)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/php-serbian-strings/#post-11180900)
 * It’s not working.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP Serbian strings’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [zmihailo](https://wordpress.org/support/users/zmihailo/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/php-serbian-strings/#post-11180900)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
