-
Notifications
You must be signed in to change notification settings - Fork 73
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
Windows + UTF8 diacritical character output problem #5
Comments
#include <curses.h> int main( const int argc, const char **argv)
}
encoded, resulting in it becoming two bytes instead of one : https://en.wikipedia.org/wiki/UTF-8
UTF-8 string) and got exactly the behavior you describe. I've not checked
the above mini-program a try and see what it does. -- Bill On 2016-05-14 01:27, clangen wrote:
|
Shoot, you're absolutely right -- I had a problem with my UTF8 decoding and it was missing that leading byte. Argh! Apologies for the waste of time, and thanks for looking into this so promptly! |
Hi there! Awesome work on the win32a variant of PDCurses, I'm really enjoying working with it.
However, I seem to have a problem when calling
wprintw
with UTF8 strings that contain certain diacritical marks. In this particular case, I've found the acute accent´
, aka0xb4
to cause strange behavior. Specifically, the output is terminated at this character, and the next line is bunched up on the previous line. Sorry if that's a crappy description, here's an example:Expected output:
But here's what it actually looks like:
Is there any known solution or work around for this problem? Besides the obvious "use a regular apostrophe instead?"
Thanks!
The text was updated successfully, but these errors were encountered: