From 1eca0457442bb1b73813c4601af7c4738611bd31 Mon Sep 17 00:00:00 2001 From: wmayer Date: Fri, 5 Aug 2016 10:38:33 +0200 Subject: [PATCH] use the unicode symbol for mu --- src/Base/UnitsSchemaInternal.cpp | 2 +- src/Base/UnitsSchemaMKS.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Base/UnitsSchemaInternal.cpp b/src/Base/UnitsSchemaInternal.cpp index 7d95535dc..64b421012 100644 --- a/src/Base/UnitsSchemaInternal.cpp +++ b/src/Base/UnitsSchemaInternal.cpp @@ -117,7 +117,7 @@ QString UnitsSchemaInternal::schemaTranslate(const Quantity &quant, double &fact } else if (unit == Unit::ThermalExpansionCoefficient) { if (UnitValue < 0.001) { - unitString = QString::fromLatin1("um/m/K"); + unitString = QString::fromUtf8("\xC2\xB5m/m/K"); factor = 0.000001; } else { diff --git a/src/Base/UnitsSchemaMKS.cpp b/src/Base/UnitsSchemaMKS.cpp index 46f617634..cb16952c7 100644 --- a/src/Base/UnitsSchemaMKS.cpp +++ b/src/Base/UnitsSchemaMKS.cpp @@ -140,7 +140,7 @@ QString UnitsSchemaMKS::schemaTranslate(const Quantity &quant, double &factor, Q } else if (unit == Unit::ThermalExpansionCoefficient) { if (UnitValue < 0.001) { - unitString = QString::fromLatin1("um/m/K"); + unitString = QString::fromUtf8("\xC2\xB5m/m/K"); factor = 0.000001; } else {