I have a mix app (elixir-1.9.4) that works when called as:
iex -S mix
It performs queries to an oracle db. Results are fine.
When I assemble a release and start it with:
MIX_ENV=prod mix release
_build/prod/rel/stomp/bin/stomp start
I hit a conversion issue:
:error, %DBConnection.ConnectionError{message: "[{:xmerl_ucs, :from_utf16be, [...]
I believe it is connected to non-ascii chars in some records (if a record is ascii-only all is good).
My env actually includes a LANG entry (LANG=en_GB.UTF-8), but neither
LANG=en_GB.UTF-8 _build/dev/rel/stomp/bin/stomp start
I am aware it’s all pritty vague and I didn’t write any configuration file. But maybe it’s just me who forgot something really basic when I assembled the release that you can spot easily,
thank you,
francescm