Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,878
    Plugin Contributions
    96

    Default Re: PayPal Instant Payment Notification Warning and CHARSET

    Quote Originally Posted by pramitha View Post
    Thank you so much for your response.

    Right now we are using the DB Collation 'utf8_general_ci' for all tables. So we need to change the charset of both configure.php and all the language files to 'utf-8' . Also we need to change the meta tag to 'utf-8'. I hope this will fix our issues.

    Regards,
    Pramitha
    Just remember that when you specify your DB_CHARSET in the two configure.php files to use utf8 (no intervening dash) for the definition and to find a utf8-update for the french language files.

    The files in your /includes/languages/french folders (both storefront and admin) are going to use ASCII/ISO-8559-1 encoding, so when you change the store to use a CHARSET of utf-8, there will be characters that display incorrectly (like I previously posted).

  2. #2
    Join Date
    Jul 2016
    Posts
    7
    Plugin Contributions
    0

    Default Re: PayPal Instant Payment Notification Warning and CHARSET

    Quote Originally Posted by lat9 View Post
    Just remember that when you specify your DB_CHARSET in the two configure.php files to use utf8 (no intervening dash) for the definition and to find a utf8-update for the french language files.

    The files in your /includes/languages/french folders (both storefront and admin) are going to use ASCII/ISO-8559-1 encoding, so when you change the store to use a CHARSET of utf-8, there will be characters that display incorrectly (like I previously posted).

    Hello,

    So what you suggest, Do I need to keep the french language Charset as ' iso-8859-1' itself ? I thought we need to change the french language charset to 'utf-8' since we are using utf8 in DB. In you previous post you have mentioned that, we need to change the french charste to 'utf-8' , but in the lats post you have mentioned like if we change to 'utf-8' then characters that display incorrectly.

    I got confused about the charset settings in language files.

    What my plan is,
    1) Change the configure.php (both storefront and admin) DB_Charset to 'utf8' (no intervening dash)
    2) Change all language files (both storefront and admin) Charset to 'utf-8'
    3) Site meta tag to use 'utf-8'

    Please clarify my doubt?

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,878
    Plugin Contributions
    96

    Default Re: PayPal Instant Payment Notification Warning and CHARSET

    What I'm saying is that there's going to be more to correcting the characters displayed for your french translations than simply changing the CHARSET value in /includes/languages/french.php (or its template-override, /includes/languages/YOUR_TEMPLATE/french.php) from 'iso-8559-1' to 'utf-8'. That language-pack was most likely created using an ASCII encoding (based on that current value), so just changing the character set to indicate UTF-8 isn't sufficient, since the language pack's files haven't been encoded that way.

    The current version of the French language pack does use UTF-8 for its character encoding, so you'll need to download that file-set for use on your store.

    As I see your tasks to solve this issue:
    1. Change both configure.php files' DB_CHARSET value to be utf8.
    2. Install the updated French language pack so that those messages are stored in files that are encoded using a UTF-8 encoding.
    3. Ensure that the CHARSET values in all the primary language files (e.g. english.php, spanish.php, french.php, etc.) are all set to UTF-8.


    You've mentioned it a couple of times now, and I realized that I don't understand what "Site meta tag to utf-8" means. If that means that the value in a page's <meta content=xxx> tag is set to UTF-8, then simply changing all the CHARSET values in the language files accomplishes that goal.

 

 

Similar Threads

  1. PayPal Instant Payment Notification Warning
    By royaldave in forum Upgrading to 1.5.x
    Replies: 9
    Last Post: 8 Jul 2018, 09:33 PM
  2. PayPal Instant Payment Notification Warning
    By pramitha in forum General Questions
    Replies: 3
    Last Post: 23 Jul 2016, 01:04 PM
  3. PayPal Instant Payment Notification Warning
    By tushar in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 29 Nov 2011, 11:06 AM
  4. PayPal Instant Payment Notification Warning
    By tushar in forum PayPal Website Payments Pro support
    Replies: 0
    Last Post: 12 Aug 2011, 01:03 PM
  5. PayPal Instant Payment Notification Warning
    By inovermyhead in forum General Questions
    Replies: 4
    Last Post: 16 Nov 2007, 04:26 PM

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