<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.3157" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=004564507-20082007><FONT face=Arial
color=#0000ff size=2>Hi,</FONT></SPAN></DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> telepathy-bounces@lists.freedesktop.org
[mailto:telepathy-bounces@lists.freedesktop.org] <B>On Behalf Of </B>ext
Liangjing Zhao<BR><B>Sent:</B> Monday, August 20, 2007 9:35 AM<BR><B>To:</B>
telepathy@lists.freedesktop.org<BR><B>Subject:</B> [Telepathy] some questions
for telepathy spec<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>However, after I read the spec of telepathy <A
href="http://telepathy.freedesktop.org/spec.html">http://telepathy.freedesktop.org/spec.html</A>
, I have few questions:<BR><BR>1. Via the methods of
org.freedesktop.Telepathy.Channel.Type.Text interface, client can send and
receive text message with contact. But how can I identify the encode of the
messages? should I read this encode information from the channel
properties?</DIV></BLOCKQUOTE>
<DIV><SPAN class=004564507-20082007><FONT face=Arial color=#0000ff size=2>On the
Telepathy side, message text and
other user-readable data are considered plain text in
UTF-8.</FONT></SPAN></DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV><SPAN class=004564507-20082007> </SPAN>2. As we know, some protocol
(SIP/SIMPLE) provides a feature that the text chatting (send / receive text
message) happens in a session. Under telepathy framework, how the session can
be identified ? Or currently, telepathy can not support this feature
?</DIV></BLOCKQUOTE>
<DIV><SPAN class=004564507-20082007><FONT face=Arial color=#0000ff><FONT
size=2>A chat session is represented by a channel object implementing
<FONT color=#000000><FONT
face="Courier New">org.freedesktop.Telepathy.Channel.Type.Text</FONT><FONT
color=#0000ff>.</FONT></FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=004564507-20082007><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=004564507-20082007><FONT face=Arial color=#0000ff size=2>Best
regards,</FONT></SPAN></DIV>
<DIV><SPAN class=004564507-20082007><FONT face=Arial color=#0000ff size=2>
Mikhail</FONT></SPAN></DIV></BODY></HTML>