Skip to content

calculatorrunner: Fix superscripted numbers

Alexander Lohnau requested to merge work/calculator_runner_superscripted into master

Use toLocal8Bit instead of toLatin1 see https://doc.qt.io/qt-5/qstring.html#toLatin1. Otherwise the superscripted numbers would not be correctly converted.

BUG: 435932

TestPlan: return 8 as one would expect

@ngraham @broulik

Edited by Alexander Lohnau

Merge request reports

Loading