WordPress.org

Ready to get started?Download WordPress

Forums

Simple Events Calendar
simple-events-calendar - Swedish Letters dont display in "days" (4 posts)

  1. Misko Stanisic
    Member
    Posted 3 years ago #

    Hi!
    I love the plugin!

    But I have one problem: it doesn't display Swedish letters when displaying the day of the event.

    Instead of "lör" (for "lördag" = Saturday) it shows "l�r"
    But it displays Swedish letters in the event description (the text I fill in).

    I run latest WP in Swedish language.

    Thanks in advance!!!!

  2. Jerry G. Rietveld
    Member
    Plugin Author

    Posted 3 years ago #

    Hi miskostanisic,

    Thanks for your comment! Apparently the same thing occurs in Danish. I am looking into this. Will keep you posted!

    Cheers! Jerry

  3. dimaggio
    Member
    Posted 3 years ago #

    Find line 679 and replace setlocale(LC_ALL, get_locale()); with setlocale(LC_ALL, get_locale().'.UTF8');
    (Doesn't work in windows)

    You can also use utf8_encode() on each individual date

    http://www.php.net/manual/en/function.strftime.php#94399

  4. Jerry G. Rietveld
    Member
    Plugin Author

    Posted 3 years ago #

    Hi Misko and dimaggio,

    Thanks for the info dimaggio. I'm working on an update of the plugin now and will see if I can get this to work properly for nordic languages as well now.

    Cheers,
    Jerry

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic