<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div apple-content-edited="true" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="orphans: 2; widows: 2;" class="">Thanks, Arash!</div><div style="orphans: 2; widows: 2;" class=""><br class=""></div></div></div></div><div><blockquote type="cite" class=""><div class="">there was a similar question with Luatex on tex.sx[1].  Maybe the answer<br class="">there helps.<br class=""><br class="">Best, Arash<br class=""><br class="">Footnotes: <br class="">[1]  <a href="https://tex.stackexchange.com/q/374303/76063" class="">https://tex.stackexchange.com/q/374303/76063</a><br class=""></div></blockquote></div><br class=""><div class="">This resolves my issue. Let me post the solution here. Add the following lines<div class=""><div class="">  (setenv "LC_CTYPE" "UTF-8")</div><div class="">  (setenv "LC_ALL" "en_US.UTF-8")</div><div class="">  (setenv "LANG" "en_US.UTF-8")</div><div class="">to ~/.emacs, therefore everything is fine.</div><div class=""><br class=""></div><div class=""><div style="orphans: 2; widows: 2;" class="">---</div><div style="orphans: 2; widows: 2;" class="">Best regards,</div><div style="orphans: 2; widows: 2;" class=""><br class=""></div><div style="orphans: 2; widows: 2;" class="">Jun-Qi Hu</div></div></div></div></body></html>