I store my message and message id in cassandra database.I use https://github.com/matehat/cqerl client to work with ejabberd server for storing messages in cassandra database.I fetch records from cassandra database by select query using cqerl client:
cqerl:run_query(Pid,"SELECT * FROM CONV_DETAILS;").
I get list of binary integer as output as follows:
[<<0,0,0,9,52,57,49,56,52,48,52,57,55>>,
<<0,0,0,8,0,0,0,14,204,123,132,9>>,
<<0,0,0,2,110,111>>]
for the string "what are you doing now?".
How Can I avoid original string translated into ascii number as above?