+#if wxUSE_UNICODE
+ // FIXME: this is only works for single byte encodings
+ // How-to read a single char in an unkown encoding???
+ char buf[10];
+ buf[0] = m_input.GetC();
+ buf[1] = 0;
+
+ wxChar wbuf[2];
+ m_conv.MB2WC( wbuf, buf, 2 );
+ wxChar c = wbuf[0];
+#else
+ char c = m_input.GetC();
+#endif
+