diff --git a/uppbox/uppweb/cpp.cpp b/uppbox/uppweb/cpp.cpp index 16477bcef..0354db664 100644 --- a/uppbox/uppweb/cpp.cpp +++ b/uppbox/uppweb/cpp.cpp @@ -58,7 +58,10 @@ String CppAsQtf(const String& str) if(strchr("!+-*^/%~&|=[]:?<>.#", *s)) qtf << "[@B `" << *s << "]"; else + if((byte)*s < 128) qtf << '`' << *s; + else + qtf << *s; } s++; } diff --git a/uppbox/uppweb/www.cpp b/uppbox/uppweb/www.cpp index e61d73a5f..e8c729453 100644 --- a/uppbox/uppweb/www.cpp +++ b/uppbox/uppweb/www.cpp @@ -1142,7 +1142,7 @@ CONSOLE_APP_MAIN sid.Cat(*idStr); else { int id = ScanInt(sid); - if (IsNull(id)) + if (IsNull(id)) fullTitle << "/" << sid; else { if (id < 0 || id >= tt.GetCount()) {