Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

195
Vistas
How to stop question marks encoding problem

I have this ecommerce projetct in React JS.

I didn't use Create React App to create the project as the ecommerce platform I'm using doesn't support it, so I just configured Webpack to create a bundle, and I upload that bundle to the platform.

The problem is that the platform has some encoding preferences to HTML and JS files (ISO-8859-1 to HTML and UTF-8 to JS). Since I'm importing the bundle, I just saved it as UTF-8 and insert the 'charset="UTF-8"' property on the script tag. It worked well, but now I want to split my code based on the routes of the application, using React Router and lazy/Suspense.

It worked well, but now all my pages, except for Home page, has this question mark error where it should be an accent letter. I asume the problem is encoding, since I'm only importing the primary bundle itself (bundle.js), not any of the other pages bundles (I think this is the right way to do it), so all of them are not being read with UTF-8 encoding.

Can anyone help me?

enter image description here

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda