mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
use utf8 instead of the system encoding (#4582)
* use utf8 instead of the system preference * found another toLocal8Bit
This commit is contained in:
parent
92ed53e13a
commit
baaf261116
2 changed files with 2 additions and 2 deletions
|
|
@ -95,7 +95,7 @@ double Expression::eval(const peg::Ast &ast)
|
|||
|
||||
double Expression::parse(const QString &expr)
|
||||
{
|
||||
QByteArray ba = expr.toLocal8Bit();
|
||||
QByteArray ba = expr.toUtf8();
|
||||
|
||||
math.enable_ast();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue