• So I have what is probably a somewhat unique problem..

    What I’m trying to do is change the date format on your plugin to show the Japanese character for year “年” I only need the year because I don’t want to show the months.

    The problem is that to insert it in the php file I have to change the encoding to UTF-8 but when I do this it breaks my site’s login and log out pages.

    When I change the php file to UTF-8 and log out I see several variations of this error (I removed my domain name):

    Warning: Cannot modify header information – headers already sent by (output started at domain.com/wp-content/plugins/wp-category-archive/wp-category-archive.php:1) in domain.com/wp-login.php on line 418

    Any help would be much appreciated, thanks.

    https://ww.wp.xz.cn/plugins/wp-category-archive/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jdudeo

    (@jdudeo)

    keep in mind that at this stage I’m not modifying the php in any way other than just changing the encoding.

    Thread Starter jdudeo

    (@jdudeo)

    well I ended up kind of fixing my problem with CSS’s “content” style but haven’t managed to change the php to UTF-8 with BOM

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

The topic ‘wp-category-archive.php encoding’ is closed to new replies.