The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Login With Ajax
Problem with encoding (6 posts)

  1. artnik7
    Posted 4 years ago #


    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


  2. K8L
    Posted 4 years ago #

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

    Thanks =)

  3. pochesnomu
    Posted 4 years 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
    Posted 4 years 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

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

  5. pochesnomu
    Posted 4 years ago #

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


  6. doubled
    Posted 4 years ago #

    Thank's a lot artnik7! It works!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Login With Ajax
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic