qPCR4vir / nana-demo

demos and tests for Nana C++ GUI library
https://github.com/cnjinhao/nana
Boost Software License 1.0
68 stars 24 forks source link

Specify /source-charset:utf-8 option #16

Closed beru closed 5 years ago

beru commented 5 years ago

HI, this PR adds the command line option since inputbox.cpp uses u8 string literals.

Without this option, Visual Studio assumes the source file is encoded using the current user code page. https://docs.microsoft.com/en-us/cpp/build/reference/source-charset-set-source-character-set?view=vs-2017

So unless user's country's national animal is giant panda, this option might be needed.