justadudewhohacks / justadudewhohacks/opencv4nodejs

drawTextBox with german umlaut (utf8)

Open
#481 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
5.1k
Forks
826
PR merge metrics
No merged PRs in 30d

Description

Hello!

Does anyone know how to encode text with umlaut i.e. "März" correctly to show up in drawTextBox ? Right now it shows as "M??rz"...
I already tried something like:
`encoding.convert(text, 'ascii', 'utf8').toString()`
But without success, the question marks just varies... (ascii shows 'M?rz', latin1 shows 'M???rz')

Best regards,
Juergen

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.