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

Error displaying unicode characters #66

Open
dolongnao opened this issue Mar 15, 2017 · 7 comments
Open

Error displaying unicode characters #66

dolongnao opened this issue Mar 15, 2017 · 7 comments
Labels

Comments

@dolongnao
Copy link

dolongnao commented Mar 15, 2017

How to replace Windows terminal to ConEmu in wb_launcher.hta ?

@dolongnao
Copy link
Author

Error displaying unicode characters UTF-8
2017-03-16_7-46-00

@dolongnao
Copy link
Author

dolongnao commented Mar 17, 2017

It work. Show no error.

c:>chcp 65001
2017-03-17_22-28-16

2017-03-17_22-26-33

@Levak
But I do not know where to put it and pack it from source! Can you Guide me.

@Levak Levak added the bug label Mar 17, 2017
@Levak
Copy link
Owner

Levak commented Mar 17, 2017

Hi,

I have looked around, and thanks to your help have been able to find some literature for it.
Sadly after messing around left and right, I was not able to output vietnamese or russian in windows command prompt.

You can try adding cmd /c chcp 65001 & before wb.exe in wb_launcher.hta, but it didn't work for me (displayed squares instead of the characters).

@adriweb
Copy link

adriweb commented Mar 17, 2017

Possibly something like this early on in main?

@Levak
Copy link
Owner

Levak commented Mar 17, 2017

@adriweb nope, didn't help (with Windows cmd.exe).
As far as I understand the problem, it lies into the use of printf instead of wprintf or similar for Windows. Outputing char by char an UTF-8 symbols doesn't work, it needs to be output all at once.

@dolongnao
Copy link
Author

@Levak it's work good.thank you man
2017-03-18_15-55-37
2017-03-18_15-56-28

@ViktorSMI
Copy link

ViktorSMI commented Aug 16, 2017

It is possible in more detail how you did it.
If you are Russian, then in Russian)
Можно подробнее как вы это сделали.
Если вы русский, то на русском)

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

No branches or pull requests

4 participants