Index: compiler/driver.c
===================================================================
--- compiler/driver.c	(revision 444)
+++ compiler/driver.c	(working copy)
@@ -95,6 +95,7 @@
             }
             if (eq(s, "-w") || eq(s, "-widechars")) {
                 o->widechars = true;
+		o->utf8 = false;
                 continue;
             }
             if (eq(s, "-s") || eq(s, "-syntax")) {
@@ -133,6 +134,7 @@
             }
             if (eq(s, "-u") || eq(s, "-utf8")) {
                 o->utf8 = true;
+		o->widechars = false;
                 continue;
             }
             if (eq(s, "-p") || eq(s, "-parentclassname")) {
