Closed poudro closed 3 years ago
Thank you very much!
Can you update the yarn.lock
file running yarn
command?
The actual file contains a reference to jschardet-french.
@jdesboeufs it's updated, the reference to jschardet-french comes from addok-geocode-stream (if I'm not mistaken)
Deployed in production 🚀
thanks @jdesboeufs !
The PR replaces
jschardet-french
withjschardet
as it is now outdated and improperly detects utf8 as latin1 in some cases.For example:
erroneously returns
{ encoding: 'windows-1252', confidence: 0.95 }
Whereas
correctly returns
{ encoding: 'UTF-8', confidence: 0.99 }