...
@@ -68,6 +68,12 @@ int main(int argc, char** argv){
if(argc == 1){
void* repl = pkpy_new_repl(vm);
+
+#if _WIN32
+ SetConsoleCP(CP_UTF8);
+ SetConsoleOutputCP(CP_UTF8);
+#endif
bool need_more_lines = false;
while(true){
std::cout << (need_more_lines ? "... " : ">>> ");