Not 100% sure, but I think I may have had a similar problem. I made a jira entry for this, FS-3679, which has a patch that contains a special version of fs_cli_i (on linux) that supports utf-8, but it doesn’t support command line editing and history, as the version of the lib that is used for this (libedit) does not support unicode. I’m not sure the patch can still be applied to the current release or git head, but you can give it a try. From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of ?? Sent: Tuesday, November 20, 2012 18:18 To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] How to enable unicode in CLI command? Thanks Giovanni for the tip. In Wiki it says skypopen_chat supports full utf8 chat text through ESL or API; yet in Lua script I create freeswitc.API() and then executestring("skypopen_chat interface1 remote_skypeid some_unicode_messsage), the utf8 message was not received correctly. Does the wiki "API" not referring to freeswitch.API in Lua?
Date: Mon, 19 Nov 2012 12:19:30 +0100 From: gmaruzz@gmail.com To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] How to enable unicode in CLI command?
from CLI you can't. You can use ESL, eg telnet to port 8021 (IIRC). Anyway, look in the wiki page of gsmopen and/or skypopen for an example howto. Via ESL unicode is supported. -giovanni
On 11/18/12, 王理 <itispip-qq@hotmail.com> wrote:
I tried to use chat / skypopen_chat from CLI console to send a message
to
receiver, the message is written by unicode charactor (Korean or Thai), the receiver cannot get correct charators; Tried to call chat / skypopen_chat API from LUA/JScript, ended the same; I believe Freeswitch itself support unicode, as when I use an SIP client as "Bria" to send SIP chat message between 2 clients, unicode charactor displays correctly. Is it just the CLI command by design not support unicode, or I have to do something in config xml?
-- Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org