<div dir="ltr"><div>Oh Thank you very much ! It worked. <br><br></div>Syed<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 16, 2018 at 3:31 PM, Dave Mielke <span dir="ltr"><<a href="mailto:dave@mielke.cc" target="_blank">dave@mielke.cc</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">[quoted lines by Syed Waris on 2018/04/16 at 14:17 +0530]<br>
<span class=""><br>
>The problem is when a hindi character (example 'स' - unicode 0x938) needs<br>
>to be sent from brltty to some other application, the brltty is not<br>
>recognising it as a valid character and not sending it.<br>
><br>
>Code snippet:<br>
>enqueueCommand(BRL_CMD_BLK(<wbr>PASSCHAR) | wideBuffer[0] );<br>
>Here in brltty.log I got:<br>
>[brltty] command: 002938 (unknown command: 002938)<br>
<br>
</span>Yes, the way you're trying to do it is logical but doesn't work. The reason for <br>
this is that the high-order byte for a 16-bit character is packed (for backward <br>
compatibility) in a different place. You need to do it like this:<br>
<br>
   BRL_CMD_BLK(PASSCHAR) | BRL_ARG_SET(character)<br>
<span class="HOEnZb"><font color="#888888"><br>
-- <br>
I believe the Bible to be the very Word of God: <a href="http://Mielke.cc/bible/" rel="noreferrer" target="_blank">http://Mielke.cc/bible/</a><br>
Dave Mielke           | 2213 Fox Crescent | WebHome: <a href="http://Mielke.cc/" rel="noreferrer" target="_blank">http://Mielke.cc/</a><br>
EMail: Dave@Mielke.cc | Ottawa, Ontario   | Twitter: @Dave_Mielke<br>
Phone: 1-613-726-0014 | Canada  K2A 1H7   |<br>
______________________________<wbr>_________________<br>
This message was sent via the BRLTTY mailing list.<br>
To post a message, send an e-mail to: <a href="mailto:BRLTTY@brltty.com">BRLTTY@brltty.com</a><br>
For general information, go to: <a href="http://brltty.com/mailman/listinfo/brltty" rel="noreferrer" target="_blank">http://brltty.com/mailman/<wbr>listinfo/brltty</a></font></span></blockquote></div><br></div>