Library/PCC/BasicAlgebra/ComparisonsAndBasicInequalities/CompareFractionOperations10.pg
which was contributed by us (PCC) has Chinese characters showing up in the solution. There seems (to me) to be nothing wrong with the source. Strings are added to the context:
Context()->strings->add('<'=>{},'>'=>{},'='=>{});
And then these may end up as an $answer. Depending on the seed, maybe the answer is:
$answer=String('<');
But then this appears in the solution, in PGML:
Since [`[$neg_numer_left]`] [`[$answer]`] [`[$neg_numer_right]`],
and the $answer shows up as a Chinese character with \textbf{} around it. I can see that this line should really be:
Since [`[$neg_numer_left] [$answer] [$neg_numer_right]`],
but that still brings in the Chinese character.
- Is there a MathObject String bug here?
- Is there a PGML bug here?
- Is it really my fault for trying to use the less-than character in this unconventional way?