Character encoding O&#x27


I’m getting the following from a data source

O'Brien

It should be rendered as

O'Brien

How can encode/transform this string as what it is supposed to be?

Also, how is this kind of encoding called?

Source: JavaSript – Stack Overflow

September 17, 2021
Category : News
Tags: character-encoding | encoding | html | javascript | node.js

Leave a Reply

Your email address will not be published. Required fields are marked *

Sitemap | Terms | Privacy | Cookies | Advertising

Senior Software Developer

Creator of @LzoMedia I am a backend software developer based in London who likes beautiful code and has an adherence to standards & love's open-source.