Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

eStore – getting � characters in Shortcode response

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › eStore – getting � characters in Shortcode response

Tagged: Shorcode utf

  • This topic has 3 replies, 2 voices, and was last updated 5 years, 4 months ago by admin.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • January 14, 2020 at 11:47 pm #15168
    Norberto
    Member

    Hi!

    I’m using [wp_eStore_display_transaction_result] Shortcode on my Thank You page. When I receive the transaction result, I get several � characters.

    My site is in Spanish and all the text on the website and around the Shorcode is displayed ok using Spanish characters like á, é, í, ó, ú. In fact, everything is working fine, except for the text generatd by the Shortcode. I use Google inspection on page and I find that Charset is UTF-8. I try the fix on https://support.tipsandtricks-hq.com/forums/topic/some-characters-and-text-not-recognizable-in-the-notification-email and enabled UTF-8 formatting in my PayPal profile, but I’m still receiving the same characters.

    The text on the page looks like this:

    Gracias, su pago se ha completado con éxito y le hemos enviado un recibo de su compra por correo electrónico. Para ver los detalles de la transacción, inicie sesión en su cuenta PayPal.

    Has solicitado los siguientes productos:

    Anticipo Curso SMC Vespertino – Este producto no tiene ning�n contenido descargable

    Coste Total: $1.00

    ID de la compra: 3CW170070Y0526603

    Deber�as recibir en breve un recibo de confirmaci�n de tu pago y una copia de esta informaci�n de descarga en tu correo electr�nico

    The URL is: Removed after checking.

    Any idea what can I do to fix this?

    Thank you.

    January 15, 2020 at 12:18 am #80243
    admin
    Keymaster

    Did you do new transaction AFTER the UTF-8 option was enabled in your PayPal account? Please note that old transactions you did when the UTF-8 option wasn’t enabled won’t just change automatically.

    Also, if you made some changes to the translation file it needs to be converted to UTF-8. The following page has a section for it. The section is labeled “Note for Non-English Language Users”:

    https://support.tipsandtricks-hq.com/forums/topic/plugin-language-translation

    One other question for you. Did you upload the original plugin via the WordPress’s plugin uploader or did you use FTP to transfer the files? If you used FTP then was it done using Binary mode?

    January 15, 2020 at 1:49 am #80244
    Norberto
    Member

    Thank you for your answer.

    -Yes, I did a new transaction after the UTF-8 option was enabled in my PayPal account and the behavior was the same.

    -I uploaded the original plugin via the WordPress’s plugin uploader.

    -I did not made any changes to the translation files.

    How I fixed the issue:

    I use the File Manager in my hosting CPanel and searched the file “../plugins/wp-cart-for-digital-products/languages/spa.php”

    I opened the file with Code Editor inside File Manager. When the file was opened, the upper bar in the editor showed that the file was encoded using Windows-1252 encoding, so I changed the encoding to UTF-8 using the dropdown option and click the Reopen button. The Code Editor then showed all the � characters on the Spanish specific charcters (á, é, í, etc) so I replaced the characters with the correct ones and saved the file.

    Everything is working fine right now.

    Thank you !

    January 16, 2020 at 12:56 am #80245
    admin
    Keymaster

    Glad to hear you got it sorted out.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ