alice-tools\alice ain edit --jaf mod.jaf --jam mod.jam -o out/Rance10.ain Rance10.ain
to edit code in Rance10.ain. The file mod.jaf and mod.jam is UTF-8 and Rance10.ain is GBK. So I try to use --output-encoding GBK --input-encoding UTF-8, but it always alert:
mod.jaf:22: [0;31merror: [0mFunction '锛淬偒銉笺儔涓€瑕? can't be overridden because it doesn't exist[0;36m
in: [0moverride void锛淬偒銉笺儔涓€瑕?int fg) { ... }
It seems the text in mod.jaf has been interpreted as GBK.
I use
to edit code in Rance10.ain. The file mod.jaf and mod.jam is UTF-8 and Rance10.ain is GBK. So I try to use --output-encoding GBK --input-encoding UTF-8, but it always alert:
It seems the text in mod.jaf has been interpreted as GBK.