<div dir="ltr"><div>HI:</div>
<div> </div>
<div>I have a utf8  encoded file y.erl:  the source is :</div>
<div>-module(y).<br>-compile(export_all).<br>output2()-><br>    "ÖÐÎÄ".</div>
<div> </div>
<div> </div>
<div>And a latin encoded file x.erl, the source is:</div>
<div>
<div>-module(x).<br>-compile(export_all).<br>output2()-><br>    "ÖÐÎÄ".</div>
<div> </div>
<div>When execute them in erlang shell,</div>
<div>1> x:output2().</div>
<div>"\326\320\271\372"</div>
<div>2>y:output2().</div>
<div>[228,184,173,229,155,189]</div>
<div> </div>
<div>I don't know why they  are outupted in diffrent format, one is string-format, the other is list-format. Why aren't they birth outputed in string-format or both in list-format?</div>
<div> </div>
<div> </div></div></div>