Youtube videos api snippet title contains special characters in next.js

I want to get the right video snippet title that doesn’t including special characters.
I am using https://www.googleapis.com/youtube/v3/search this api with the part snippet.

Currently, I am getting the below result.
Current snippet title:

I'M GONNA CARRY HER!!! Fortnite With Karina!

Expected title:

I’m gonna carry her!!! Fortnite With Karina!

15 thoughts on “Youtube videos api snippet title contains special characters in next.js”

Leave a Comment