2008/11/24 Philipp Kempgen <span dir="ltr"><<a href="mailto:philipp.kempgen@amooma.de">philipp.kempgen@amooma.de</a>></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Olivier schrieb:<br>
<div class="Ih2E3d"><br>
> At the moment, I'm trying to send "Unicoded" text<br>
<br>
</div>Unicode is not an encoding. It's just a list or table of characters<br>
(glyphs).<br>
<div class="Ih2E3d"><a href="http://en.wikipedia.org/wiki/Unicode" target="_blank">http://en.wikipedia.org/wiki/Unicode</a><br>
</div>Unicode is typically represented in encodings (misleadingly called<br>
"charsets") such as UTF-8, UTF-16 ...<br>
<a href="http://en.wikipedia.org/wiki/UTF-8" target="_blank">http://en.wikipedia.org/wiki/UTF-8</a><br>
<a href="http://en.wikipedia.org/wiki/UTF-16" target="_blank">http://en.wikipedia.org/wiki/UTF-16</a><br>
<div class="Ih2E3d"><br>
> to a SIP phone using<br>
> dialplan application SendText.<br>
><br>
> SendText("Hello World") works.<br>
> How can I insert letter 00E9 (from<br>
> <a href="http://www.unicode.org/charts/PDF/U0080.pdf" target="_blank">http://www.unicode.org/charts/PDF/U0080.pdf</a>) which can be written &eacute;<br>
> in HTML ?<br>
<br>
</div>Interesting. Maybe an Asterisk developer can comment on that.<br>
I'd try to type the character (latin small letter e with acute) in<br>
the text editor of your choice and either save the file in<br>
ISO-8859-1 encoding or in UTF-8 encoding so when viewed in a<br>
hexdump (hd) it has 2 bytes: C3 A9<br>
<a href="http://www.utf8-chartable.de/unicode-utf8-table.pl?start=233" target="_blank">http://www.utf8-chartable.de/unicode-utf8-table.pl?start=233</a><br>
<br>
But I thought you were trying to avoid "non-english" characters<br>
because the phone doesn't display them anyway.</blockquote><div><br>Obviously, the phone (Thomson st2030s) displays several latin charsets but the media to use for that is to use SIP MESSAGE.<br>Thanks to your (crystal clear) explaination, I suppose I can't tailor SendText to use UTF-8 encoding so I typed the decompositioned form (ie "e´").<br>
It doesn't display the way I wanted to.<br><br>If I could simply use non-ascii in dialplay functions ...<br><br>I also tried URIENCODE ...<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
If that's what you want then just send one of the decompositioned<br>
forms, namely "e´" or just "e" (easy to type).<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
Philipp Kempgen<br>
<br>
--<br>
<a href="http://www.das-asterisk-buch.de" target="_blank">http://www.das-asterisk-buch.de</a> - <a href="http://www.the-asterisk-book.com" target="_blank">http://www.the-asterisk-book.com</a><br>
Amooma GmbH - Bachstr. 126 - 56566 Neuwied -> <a href="http://www.amooma.de" target="_blank">http://www.amooma.de</a><br>
Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998<br>
--<br>
<br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br>