PizzaFactory / atk2abrex-maven-plugin

Maven plugin to execute Abrex.rb in TOPPERS/ATK2 kernel.
0 stars 0 forks source link

Failed to load YAML file written in EUC-JP #11

Open monaka opened 8 years ago

monaka commented 8 years ago
[ERROR] Failed to execute goal jp.pizzafactory.maven:atk2abrex-maven-plugin:0.0.1-SNAPSHOT:yaml-to-arxml (arxml generation (hello)) on project atk2abrex-maven-plugin-test: Execution arxml generation (hello) of goal jp.pizzafactory.maven:atk2abrex-maven-plugin:0.0.1-SNAPSHOT:yaml-to-arxml failed: (SyntaxError) (<unknown>): 'reader' unacceptable character ' at line 0 column 0 -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal jp.pizzafactory.maven:atk2abrex-maven-plugin:0.0.1-SNAPSHOT:yaml-to-arxml (arxml generation (hello)) on project atk2abrex-maven-plugin-test: Execution arxml generation (hello) of goal jp.pizzafactory.maven:atk2abrex-maven-plugin:0.0.1-SNAPSHOT:yaml-to-arxml failed: (SyntaxError) (<unknown>): 'reader' unacceptable character ' at line 0 column 0
monaka commented 8 years ago

The workaround is to convert encoding to UTF-8 before loading.

I'll write some code for converter. But the priority is low.