Hi, patch fixes both encoding and decoding functions for UCS2LE. git fetch git://github.com/paulgray/otp.git xmerl_ucs2_fix Best regards, Michal Ptaszek