Support » Plugin: Custom Field Template » [Plugin: Custom Field Template] CHARSET problems when loading a panel through AJAX

  • Resolved Ignacio

    (@subwaydesign)


    Hello.
    When changing the panel (meta box) through the select field on a custom post type, the fields are getting the classic “strange characters” problem due to the charset ajax is using. Firebug shows that the request is using ISO-8859-1, when it should be UTF-8.
    Any idea why is that happening?
    Thanks!

    http://wordpress.org/extend/plugins/custom-field-template/

Viewing 1 replies (of 1 total)
  • Ignacio

    (@subwaydesign)

    Done. I solved it by adding
    header(‘Content-Type: text/html; charset=UTF-8’);
    in custom-field-template.php right after the php tag opens.

    I believe that It would be great if the plugin author could add an option to the plugin for this. A simple input box where you can specify the charset you want to use.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Custom Field Template] CHARSET problems when loading a panel through AJAX’ is closed to new replies.