<div>H<font class="Apple-style-span" color="#676767" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;">ello Sir,</span></font></div>
<div><br></div><div>But the issue is you have written the Chinese charter directly</div><div>in place of user name rather than writing its equivalent UTF-8 into users file as said by you.</div><div>users:</div><div>"現年快樂"  Auth-Type := Accept<br>
</div><div><br></div><div>My doubt is How can I write UTF-8 encoded (may be HEX form) in users file.</div><div><br></div><div>Because I have did the same in place of Chinese I have</div><div>written the hex equivalent of ∞ infinity symbol which is also</div>
<div>a multilingual character in place of username and sent the request containing</div><div>hex equivalent of UTF-8 of ∞ infinity symbol.</div><div><br></div><div>Kindly correct me If i am wrong.</div><div>-Karnik jain  </div>
<div><br></div><div><div class="gmail_quote">On Fri, Feb 4, 2011 at 10:25 PM, James J J Hooper <span dir="ltr"><<a href="mailto:jjj.hooper@bristol.ac.uk">jjj.hooper@bristol.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">--On 04 February 2011 22:02 +0530 karnik jain <<a href="mailto:karnik.jain@gmail.com" target="_blank">karnik.jain@gmail.com</a>> wrote:<br>
<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Hi Alan,<br>
<br>
I have written multilingual character *∞ *directly in RADIUS server's<br>
*users file.*<br>
without encoding it into UTF-8.<br>
*<br>
*<br>
Do I need to write Username in *user file of RADIUS server *after<br>
converting it<br>
into UTF-8 to make the *whole thing work*?<br>
<br>
If Yes then How can I write UTF-8 characters into *users file of RADIUS<br>
server.*<br>
<br>
Do I need to write directly the *HEX of encoded characters* or some other<br>
way<br>
into the *users file of RADIUS server as shown in attached users file of<br>
RADIUS server*?<br>
*<br>
*<br>
I have double check that the UTF-8 Encoder of mine is working fine.<br>
Multilingual character = ∞  (infinity symbol)  is having equivalent<br>
form in HEX = *0xe2889e*<br>
and UTF-8 encoding of *0xe2889e* is = *0xf8 0xb8 0xa2 0x9e.*<br>
<br>
*Can any one please look into to above issue *<br>
*and guide me How can I configure the files of free RADIUS server *<br>
*to use USER-NAME field other than **US-ASCII like *<br>
*Chinese etc.?*<br>
*<br>
*<br>
*Regards,*<br></div>
*Karnik jain*<br>
</blockquote>
<br>
Hi Karnik,<br>
 If you put UTF in the users file and UTF in the User-Name in the radius request it will work. For example:<br>
<br>
users:<br>
"現年快樂"  Auth-Type := Accept<br>
<br>
...and then testing it:<br>
<br>
echo 'User-Name = "現年快樂"' | radclient -x <a href="http://137.222.253.91:16010" target="_blank">137.222.253.91:16010</a> auth SECRET<br>
Sending Access-Request of id 161 to 137.222.253.91 port 16010<br>
        User-Name = "現年快樂"<br>
rad_recv: Access-Accept packet from host 137.222.253.91 port 16010, id=161, length=20<br>
<br>
Regards,<br>
 James<br>
<br>
-- <br>
James J J Hooper<br>
Network Specialist<br>
Information Services<br>
University of Bristol<br>
<a href="http://www.wireless.bristol.ac.uk" target="_blank">http://www.wireless.bristol.ac.uk</a>               <br><font color="#888888">
-- <br></font><div><div></div><div class="h5">
<br>
<br>
<br>
-<br>
List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a></div></div></blockquote></div><br></div>