Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

189
Visualizações
JS - gettign and displaying attribute data - wrong string display format

I'm trying to get image title from page X - where in source view I can properly see "Neu Müller photo". Page X content charset is iso-8859-2.

So I fetch it - and simply using:

.getAttribute("title")

to get image title value - but on my page where charset is UTF-8 it is displayed wrong - like: "Neu M�ller photo"

I suppose that editor used on page X has the wrong charset setup - but there is nothing I can do there. Is there a way to fix it - to properly display it on my page?

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda