Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2011
    Posts
    39
    Plugin Contributions
    0

    Default PHPBB3 / Register user nickname in utf-8 (arabic)

    iv been trying to fix this issue for the past 7 days now and i cant seem to get it worked right.

    iv set my whole server /php files to utf-8.
    even configured apache to be utf-8

    when someone is creating a new account he is required to enter forum nickname, if he enter utf-8 nickname he wont be able to login in phpbb3 and its going to show ?@#invalid charcters for him in mysql database and i have to edit it manual.

    iv posted on phpbb3 forum
    http://www.phpbb.com/community/viewt...0313#p13090313

    anyone have a clue what i need to do?

  2. #2
    Join Date
    Nov 2011
    Posts
    39
    Plugin Contributions
    0

    Default Re: PHPBB3 / Register user nickname in utf-8 (arabic)

    Forms
    One often neglected method is ensuring that the data the server gets is UTF-8 encoded. One way to try and do this with HTML forms is to include the accept-charset attribute in your form tag. I say “try” because it’s just a suggestion to the client which submits the form. Be aware that some clients may not pay much attention to the attribute, especially older browsers. [Thanks to Alejandro for the heads up :-)]


    <form action="/action" method="post" accept-charset="utf-8">



    how can i add this code to be used for the entire post actions in zen cart? or perhaps on create account (forum nickname)

  3. #3
    Join Date
    Nov 2011
    Posts
    39
    Plugin Contributions
    0

    Default Re: PHPBB3 / Register user nickname in utf-8 (arabic)

    or how can i merge it in


    label class="inputLabel" for="nickname"><?php echo ENTRY_NICK; ?></label>
    <?php echo zen_draw_input_field('nick','','id="nickname"') . (zen_not_null(ENTRY_NICK_TEXT) ? '<span class="alert">' . ENTRY_NICK_TEXT . '</span>': ''); ?>
    <br class="clearBoth" />

 

 

Similar Threads

  1. v150 custom zen_redirect() not working after user login or register
    By rakeshindia in forum General Questions
    Replies: 1
    Last Post: 27 Jun 2012, 12:31 PM
  2. Can't Register as user
    By Interdigital_Designs in forum Managing Customers and Orders
    Replies: 4
    Last Post: 9 Jul 2011, 05:04 AM
  3. Arabic & UTF-8 in Easy Populate?
    By bahaa87 in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 5 Jul 2011, 06:43 AM
  4. PHPBB3 integration - Newly Registered User group
    By D-Lew in forum General Questions
    Replies: 0
    Last Post: 21 Jun 2011, 09:51 PM
  5. Changing user Login from Email to Nickname?
    By cheersdude in forum Templates, Stylesheets, Page Layout
    Replies: 20
    Last Post: 1 Oct 2010, 11:55 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR