Various utf-8 fixes.

* src/bin/ltl2tgba.cc: Add option -8.
* src/tgbatest/ltl2tgba.cc, wrap/python/spot.i: Enable utf8 on
sba_explicit_formula automata too.
This commit is contained in:
Alexandre Duret-Lutz 2012-09-18 20:57:47 +02:00
parent 4ed153a247
commit f02156ebff
3 changed files with 29 additions and 3 deletions

View file

@ -1294,9 +1294,14 @@ main(int argc, char** argv)
}
if (utf8_opt)
if (spot::tgba_explicit_formula* tef =
dynamic_cast<spot::tgba_explicit_formula*>(a))
tef->enable_utf8();
{
if (spot::tgba_explicit_formula* tef =
dynamic_cast<spot::tgba_explicit_formula*>(a))
tef->enable_utf8();
else if (spot::sba_explicit_formula* sef =
dynamic_cast<spot::sba_explicit_formula*>(a))
sef->enable_utf8();
}
if (output != -1)
{