ARIA-VALUSPA / AVP

This is the ARIA-VALUSPA Platform, or AVP for short. Use this platform to build your own Virtual Humans with audio-visual input and output, language models for English, French, and German, emotional understanding, and many more. This work was funded by European Union Horizon 2020 research and innovation programme, grant agreement No 645378.
https://aria-agent.eu
32 stars 16 forks source link

Encoding FML with ActiveMQ #14

Closed PaulLerner closed 6 years ago

PaulLerner commented 6 years ago

Hello,

I have an issue with the connection with Greta. I've written FML in french so there are special characters like "é" If I use Greta FML File reader it works perfectly but if I build a scenario then the FML is sent through eu.aria.util.translator.api.ActiveMQConnector I think and I guess the encoding is wrong because "é" becomes something like "A(c)".

Barachia commented 6 years ago

Hi Paul,

I've been able to reproduce the weird encoding. I think you're right about the ActiveMQConnector that something goes wrong there, so I'm gonna look into that.

However, if I use the full system and the Flipper templates and write the characters like é and á there, I am able to send valid FML.

I'll get back to you.

PaulLerner commented 6 years ago

You mean that if you change the language to french for example, the agent will actually say "é" and not "A copyright" ? See the display of the ActiveMQSender here, you'll see that "ça" has turned into "ça" fml encoding activemq avp

PaulLerner commented 6 years ago

Solution was to add this to the command in the batch file for flipper (start-3-core) : -Dfile.encoding=UTF-8

Thanks @Barachia