diff --git a/qrenderdoc/Code/Interface/PersistantConfig.h b/qrenderdoc/Code/Interface/PersistantConfig.h index 19b45b2ff..0a2113f39 100644 --- a/qrenderdoc/Code/Interface/PersistantConfig.h +++ b/qrenderdoc/Code/Interface/PersistantConfig.h @@ -170,7 +170,8 @@ inline QString UnitSuffix(TimeUnit unit) else if(unit == TimeUnit::Milliseconds) return lit("ms"); else if(unit == TimeUnit::Microseconds) - return lit("µs"); + // without a BOM in the file, this will break using lit() in MSVC + return QString::fromUtf8("µs"); else if(unit == TimeUnit::Nanoseconds) return lit("ns");