[erlang-questions] Special Characters problem

Evren Bayraktar <>
Wed Jan 2 12:26:17 CET 2013


Hi everyone,

I'm working on ejabberd.

< , > characters are recieved on real time conversation but they escape
when I trying to write message on mysql database.

lists:flatten(io_lib:format("from=~s&to=~s&message=~s&status=~b&time_create=~b",
[FromS, ToS, BodyS, Status, unix_timestamp()

I'm using this lists functions.

When I write 5 > 4 on chat client, it sended but after then I tried to get
this messages from archive database, it looks only 5.

"> 4 " are missing..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130102/44bc240c/attachment.html>


More information about the erlang-questions mailing list