WordPress.org

Forums

PWA+PHP Picasa Web Albums for WordPress
[resolved] No support for multibyte characters? (4 posts)

  1. wpmubp
    Member
    Posted 3 years ago #

    I have a picture on Picasa, which description is written in Japanese. However when the picture is displayed via this plugin, the description field is full of garbled characters.

    I'm using plugin ver. 0.9.6 with WP 3.4.1. I hope you'll fix this small bug on the next release as well as paid version as I'm interested to addon features once I'm sure the bug is fixed.

    http://wordpress.org/extend/plugins/pwaplusphp/

  2. wpmubp
    Member
    Posted 3 years ago #

    Replace

    $caption = htmlentities( $text , ENT_QUOTES );

    to

    $caption = htmlentities( $text , ENT_QUOTES , "UTF-8" );

    on line 246 of showAlbumContents.php

  3. ceh-photo.de
    Member
    Posted 2 years ago #

    Please fix this, but better in this way:

    $caption = htmlentities( $text , ENT_QUOTES, get_settings('blog_charset'));

  4. wpmubp
    Member
    Posted 2 years ago #

    @ceh-photo.de Thanks for your suggestion. I hope next version includes the fix.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • PWA+PHP Picasa Web Albums for WordPress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic