locutusjs / locutus

Bringing stdlibs of other programming languages to JavaScript for educational purposes

Home Page:https://locutus.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bin2hex() fails with unicode characters like Æ Ø Å æ ø å

divinity76 opened this issue · comments

  • Have you checked the guidelines in our Contributing document?

Description

running bin2hex("æ"); i expected c3a6 but instead i get e6 , the 2nd byte is ignored :o