Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Encoding not recognized: 'UNICODE UTF-8'" #307

Open
chenkenkone opened this issue Dec 20, 2022 · 1 comment
Open

"Encoding not recognized: 'UNICODE UTF-8'" #307

chenkenkone opened this issue Dec 20, 2022 · 1 comment

Comments

@chenkenkone
Copy link

chenkenkone commented Dec 20, 2022

Hello, can/will iconv-lite support "UNICODE UTF-8"?

Because sending HL7v2 message using hl7v2, and PACS(DUCIM) only recognise UNICODE UTF-8 not utf8 dcm4chee, causing the PACS UI garbled.

@ashtuchkin
Copy link
Owner

I have no idea what hl7 or dcm4chee is, but can't you just add an if statement that does the conversion? Something like this:

if (encoding === "UNICODE UTF-8")
    encoding = "utf8";

I don't think adding "UNICODE UTF-8" as an official alias to utf-8 makes sense as it's a pretty rare case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants