Forums

[resolved] Retreiving the Character Set (3 posts)

  1. goxu
    Member
    Posted 5 years ago #

    Hi all,

    I've been working on making a plugin and wondering if there is a way to retrieve the character set, like UTF-8, ISO, of the blog.

    I use international languages espacially those involve multibyte characters whihch often involve to specify the character set to perform the code properly.

    If you know the way, it would be greatly appreciated.

  2. cms
    Member
    Posted 5 years ago #

    To retrieve the character-set use

    get_settings('blog_charset');

    Have a look at

    http://codex.wordpress.org/Function_Reference/get_settings

  3. goxu
    Member
    Posted 5 years ago #

    I really appreciate it, cms.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags