WordPress.org

Ready to get started?Download WordPress

Forums

japanese localizasion issue (5 posts)

  1. Anonymous
    Unregistered
    Posted 10 years ago #

    http://phpbb.xwd.jp/viewtopic.php?t=93
    i hope these changes to be merged.
    why mb_send_mail? because email must use iso-2022-jp in japan.
    why charset parameter in trackback?
    this is local extension.
    but by this we know the charset of received trackback ping.
    otherwise ,the trackback can't be displayed properly.
    same problem exists in xmlrpc.php
    http://aspn.activestate.com/ASPN/docs/PHP/ref.mbstring.html

  2. Matt Mullenweg
    Troublemaker
    Posted 10 years ago #

    The problem with the mb_ functions is that they're not widely installed.

  3. Anonymous
    Unregistered
    Posted 10 years ago #

    I agree with you.
    but if we would use such a way like "if(function_exists(mb_)){}else{}",
    then the problem would be solved,I think.
    and thank you for fast answer.

  4. Matt Mullenweg
    Troublemaker
    Posted 10 years ago #

    So if the mb functions exist, use them, and if not, use the plain PHP functions? I think we could do something like that.

  5. Anonymous
    Unregistered
    Posted 10 years ago #

    yes.
    like this.
    f (function_exists('mb_convert_encoding')) {
    $comment = mb_convert_encoding($comment, get_settings('blog_charset'), $charset);
    $author = mb_convert_encoding($author, get_settings('blog_charset'), $charset);
    }
    or there also is mb_string_emulator.
    thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.