Forums

Login With Ajax
Problem with encoding (6 posts)

  1. artnik7
    Member
    Posted 8 months ago #

    Hallo!

    At first I apologize for my english.

    I have install "Login With Ajax". On form submitting instead of text, like "Введите имя" (Russian), it returns gibberish.

    The site encoding is UTF-8 and any other file on site is in UTF-8 to.

    The problem would have been easier if I had to display only Russian characters. The fact that I am creating a template and I'm going to sell it en masse. So If the admin, for example, any Arab will set in the WP settings by default Arabic lang., then the output Ajax messages will be displayed not correct.

    I have also tried to display plugin form on default WP template (twentyten), and there also displays wrong russian encoding on form sending.

    Wat's wrong?

    Thanks in advance

    http://wordpress.org/extend/plugins/login-with-ajax/

  2. K8L
    Member
    Posted 8 months ago #

    I have the same problem (with french accents é à è etc...), anyone could help us, please?

    Thanks =)

  3. pochesnomu
    Member
    Posted 8 months ago #

    K8L, login-with-ajax.php Fill to the top
    header("Content-type: text/html; charset=UTF-8");
    and save file to utf-8 not ben (use notepad ++)

  4. artnik7
    Member
    Posted 8 months ago #

    header("Content-type: text/html; charset=UTF-8"); will not halp to.
    I'v already solved the problem in .htaccess file, that I'v upload in my WP home directory.
    So... Create a file .htaccess with this code

    AddDefaultCharset utf-8
    AddCharset utf-8 *
    <IfModule mod_charset.c>
        CharsetSourceEnc utf-8
        CharsetDefault utf-8
    </IfModule>

    and upload it into your site home directory, and it will work well!

  5. pochesnomu
    Member
    Posted 8 months ago #

    and save file to utf-8 not ben (use notepad ++)

    ?

  6. doubled
    Member
    Posted 4 months ago #

    Thank's a lot artnik7! It works!

Reply

You must log in to post.

About this Plugin

About this Topic