diff --git a/common/preview_items/ruler_item.cpp b/common/preview_items/ruler_item.cpp index 8af0f100a2..18f9ee1713 100644 --- a/common/preview_items/ruler_item.cpp +++ b/common/preview_items/ruler_item.cpp @@ -48,7 +48,7 @@ static void drawCursorStrings( KIGFX::VIEW* aView, const VECTOR2D& aCursor, cursorStrings.push_back( DimensionLabel( "r", aRulerVec.EuclideanNorm(), g_UserUnit ) ); double degs = RAD2DECIDEG( -aRulerVec.Angle() ); - cursorStrings.push_back( DimensionLabel( "θ", degs, DEGREES ) ); + cursorStrings.push_back( DimensionLabel( wxString::FromUTF8( "θ" ), degs, DEGREES ) ); for( auto& str: cursorStrings ) {