The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024

Latest message you have seen: Re: Code release Nanode xAP One Wire Temp


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

RE: [xap_automation] Re: Swedish special let ters åäö


  • Subject: RE: [xap_automation] Re: Swedish special let ters åäö
  • From: "Ove Jacobsson" <ove.jacobsson@xxxxxxxxxxx>
  • Date: Thu, 17 Nov 2005 00:24:17 +0100

------=_NextPart_000_0017_01C5EB0D.3F165EA0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi Stuart,

Looks like you have got things the way I have it. Now that you can send
messages with special characters it should be much easier to debug.

This is what I have discovered:

xAP News sends out messages containing special characters.

When NO characterencoding key is set in the config files for xAP Hub and
xA=
P
Message Viewer:
In xAP Hub GUI, xAP Message Viewer and xAP Desktop the special characters
are seen as e, d and v.
xAP Intranet can discover all xAP Intranet enabled applications.

When the characterencoding key is set to UTF-8 in the config files for xAP
Hub and xAP Message Viewer:
In xAP Hub GUI, xAP Message Viewer and xAP Desktop the special characters
have disappered and can=92t be seen at all.
xAP Intranet can discover all xAP Intranet enabled applications.

When the characterencoding key is set to UTF-7 in the config files for xAP
Hub and xAP Message Viewer:
In xAP Hub GUI and xAP Message Viewer the special characters are seen as
they should be but xAP Desktop do not show ANY messages not even messages
without special characters.=20
xAP Intranet do not discover any xAP Intranet enabled applications.

The line =93Desc=3DToppnyheter fr=E5n www.svd.se=94 from the news.story
mes=
sage that
you have seen from www.svd.se <http://www.svd.se/>  and copied into the
e-mail is appearing correctly to me in swedish. The special character is
th=
e
third one in the second word. Translated to English it reads =93Desc=3DTop
=
news
from www.svd.se <http://www.svd.se/> =94 and it=92s not a
TV site it's a
newspaper.

I think the way to go to find a solution to this problem is not to dig into
this characterencoding key settings issue cause it seems to just complicate
things and make it incompatible with other xAP applications which don=92t
u=
se
xFx.. Instead try to investigate/debug why any special characters with
ASCI=
I
codes from 128 to 255 are converted to ASCII-values in the 0 to 127 range
b=
y
the xAP Hub when no charachterencoding key has been set in the config
files=
.
The question is =93Why can=92t high value 8-bit ASCII-codes traverse
throug=
h the
xAP Hub?=94

//Ove


Hi Ove,

I've just been tinkering with xFx and can now happily send messages
with alternative character encodings. I have to use UTF-7 encoding as
you do, but the sample message you provided goes out through xAP Send,
into xAP Hub (GUI) and then Hub passes it on to xAP Message Viewer.

I can see the Swedish characters in the message in the debugger as it
passes through xAP Send (this required a software tweak so isn't
available on the xFx site just yet), and then in the message display
windows in both Hub and Viewer.

I've also configured xAP News 3 to point to the TV site you suggested:
http://www.svd.se/articleexport/rss20/svd_top.xml
and I'm seeing some
foreign (to me anyway ;) characters in the message display windows
here too:

For example, this is copied directly from one of these windows,
displaying a news.story message from xAP News 3, and hopefully it'll
appear correctly:

Desc=3DToppnyheter fr=E5n www.svd.se

The only thing I've adjusted thus far is the way that xAP Send reads
in the message files from disc.

So I'm really not sure what's happening after this. James. any
thoughts on how best to continue debugging this?

S
--=20
Stuart Booth <stuart@xxxxxxx>
xAPFramework.NET - a xAP software development framework for .NET





------=_NextPart_000_0017_01C5EB0D.3F165EA0
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml"
xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office"
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags"
xmlns=3D"http://ww=
w.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html;
charset=3Diso-8859-1"=
>
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered
medium)">
<o:SmartTagType
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
name=3D"metricconverter"/>
<o:SmartTagType
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
name=3D"PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:blue;
text-decoration:underline;}
tt
{font-family:"Courier New";}
span.E-postmall18
{mso-style-type:personal-reply;
font-family:Arial;
color:navy;}
@page Section1
{size:595.3pt 841.9pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
{page:Section1;}
/* List Definitions */
@list l0
{mso-list-id:2106222668;
mso-list-template-ids:962239864;}
@list l0:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:36.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level1 lfo2
{mso-level-start-at:0;
mso-level-numbering:continue;
mso-level-text:\F0A7;
mso-level-tab-stop:36.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
-->
</style>

</head>

<body lang=3DSV link=3Dblue vlink=3Dblue>



<div class=3DSection1>

<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><font size=3D3
color=3D=
navy
face=3D"Times New Roman"><span lang=3DEN-GB
style=3D'font-size:12.0pt;color=
:navy'>Hi
Stuart,<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><font size=3D3
color=3D=
navy
face=3D"Times New Roman"><span lang=3DEN-GB
style=3D'font-size:12.0pt;color=
:navy'>Looks
like you have got things the way I have it. Now that you can send messages
=
with
special characters it should be much easier to
debug.<o:p></o:p></span></fo=
nt></p>

<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><font size=3D3
color=3D=
navy
face=3D"Times New Roman"><span lang=3DEN-GB
style=3D'font-size:12.0pt;color=
:navy'>This
is what I have
discovered:<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><font size=3D3
color=3D=
navy
face=3D"Times New Roman"><span lang=3DEN-GB
style=3D'font-size:12.0pt;color=
:navy'>xAP
News sends out messages containing special
characters.<o:p></o:p></span></f=
ont></p>

<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><font size=3D3
color=3D=
navy
face=3D"Times New Roman"><span lang=3DEN-GB
style=3D'font-size:12.0pt;color=
:navy'>When
NO characterencoding key is set in the config files for xAP Hub and xAP
Mes=
sage
Viewer:<br>
In xAP Hub GUI, xAP Message Viewer and xAP Desktop the special characters
a=
re seen
as e, d and v.<br>
xAP Intranet can discover all xAP Intranet enabled
applications.<o:p></o:p>=
</span></font></p>

<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><font size=3D3
color=3D=
navy
face=3D"Times New Roman"><span lang=3DEN-GB
style=3D'font-size:12.0pt;color=
:navy'>When
the characterencoding key is set to UTF-<st1:metricconverter
ProductID=3D"8=
in"
w:st=3D"on">8 in</st1:metricconverter> the config files
for xAP Hub and xAP
Message Viewer:<br>
In xAP Hub GUI, xAP Message Viewer and xAP Desktop the special characters
h=
ave
disappered and can&#8217;t be seen at all.<br>
xAP Intranet can discover all xAP Intranet enabled
applications.<o:p></o:p>=
</span></font></p>

<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><font size=3D3
color=3D=
navy
face=3D"Times New Roman"><span lang=3DEN-GB
style=3D'font-size:12.0pt;color=
:navy'>When
the characterencoding key is set to UTF-<st1:metricconverter
ProductID=3D"7=
in"
w:st=3D"on">7 in</st1:metricconverter> the config files
for xAP Hub and xAP
Message Viewer:<br>
In xAP Hub GUI and xAP Message Viewer the special characters are seen as
th=
ey should
be but xAP Desktop do not show ANY messages not even messages without
speci=
al
characters. <br>
xAP Intranet do not discover any xAP Intranet enabled
applications.<o:p></o=
:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><font size=3D3
color=3D=
navy
face=3D"Times New Roman"><span lang=3DEN-GB
style=3D'font-size:12.0pt;color=
:navy'>The
line &#8220;Desc=3DToppnyheter fr=E5n www.svd.se&#8221; from the
news.story=
message
that you have seen from <a href=3D"http://www.svd.se/";>www.svd.se</a>
and c=
opied into
the e-mail is appearing correctly to me in swedish. The special character
i=
s the
third one in the second word. Translated to English it reads
&#8220;Desc=3D=
Top
news from <a href=3D"http://www.svd.se/";>www.svd.se</a>&#8221;
and it&#8217=
;s not
a TV site it's a
newspaper.<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><font size=3D3
color=3D=
navy
face=3D"Times New Roman"><span lang=3DEN-GB
style=3D'font-size:12.0pt;color=
:navy'>I
think the way to go to find a solution to this problem is not to dig into
t=
his
characterencoding key settings issue cause it seems to just complicate
thin=
gs
and make it incompatible with other xAP applications which don&#8217;t
use =
xFx..
Instead try to investigate/debug why any special characters with ASCII
code=
s from
128 to 255 are converted to ASCII-values in the 0 to 127 range by the xAP
H=
ub
when no charachterencoding key has been set in the config files. The
questi=
on
is &#8220;Why can&#8217;t high value 8-bit ASCII-codes traverse
through the=
xAP
Hub?&#8221;<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><font size=3D3
color=3D=
navy
face=3D"Times New Roman"><span lang=3DEN-GB
style=3D'font-size:12.0pt;color=
:navy'>//Ove<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><font size=3D3
face=3D"Times New Roman"><span lang=3DEN-GB
style=3D'font-size:12.0pt'><br>
</span></font><tt><font size=3D2 face=3D"Courier
New"><span lang=3DEN-GB
style=3D'font-size:10.0pt'>Hi
Ove,</span></font></tt><span lang=3DEN-GB><br=
>
<br>
</span><tt><font size=3D2 face=3D"Courier
New"><span lang=3DEN-GB style=3D'=
font-size:
10.0pt'>I've just been tinkering with xFx and can now happily send
messages=
</span></font></tt><span
lang=3DEN-GB><br>
</span><tt><font size=3D2 face=3D"Courier
New"><span lang=3DEN-GB style=3D'=
font-size:
10.0pt'>with alternative character encodings. I have to use UTF-7
encoding =
as</span></font></tt><span
lang=3DEN-GB><br>
</span><tt><font size=3D2 face=3D"Courier
New"><span lang=3DEN-GB style=3D'=
font-size:
10.0pt'>you do, but the sample message you provided goes out through xAP
Se=
nd,</span></font></tt><span
lang=3DEN-GB><br>
</span><tt><font size=3D2 face=3D"Courier
New"><span lang=3DEN-GB style=3D'=
font-size:
10.0pt'>into xAP Hub (GUI) and
t</span></font></tt><tt><font size=3D2
face=3D"Courier New"><span
style=3D'font-size:10.0pt'>hen Hub passes it on =
to xAP
Message Viewer.</span></font></tt><br>
<br>
<tt><font size=3D2 face=3D"Courier New"><span
style=3D'font-size:10.0pt'>I =
can see
the Swedish characters in the message in the debugger as
it</span></font></=
tt><br>
<tt><font size=3D2 face=3D"Courier New"><span
style=3D'font-size:10.0pt'>pa=
sses
through xAP Send (this required a software tweak so
isn't</span></font></tt=
><br>
<tt><font size=3D2 face=3D"Courier New"><span
style=3D'font-size:10.0pt'>av=
ailable on
the xFx site just yet), and then in the message
display</span></font></tt><=
br>
<tt><font size=3D2 face=3D"Courier New"><span
style=3D'font-size:10.0pt'>wi=
ndows in
both Hub and Viewer.</span></font></tt><br>
<br>
<tt><font size=3D2 face=3D"Courier New"><span
style=3D'font-size:10.0pt'>I'=
ve also
configured xAP News 3 to point to the TV site you
suggested:</span></font><=
/tt><br>
<tt><font size=3D2 face=3D"Courier New"><span
style=3D'font-size:10.0pt'><a
href=3D"http://www.svd.se/articleexport/rss20/svd_top.xml";>http://www.svd.s=
e/articleexport/rss20/svd_top.xml</a>
and I'm seeing some</span></font></tt><br>
<tt><font size=3D2 face=3D"Courier New"><span
style=3D'font-size:10.0pt'>fo=
reign (to
me anyway ;) characters in the message display
windows</span></font></tt><b=
r>
<tt><font size=3D2 face=3D"Courier New"><span
style=3D'font-size:10.0pt'>he=
re too:</span></font></tt><br>
<br>
<tt><font size=3D2 face=3D"Courier New"><span
style=3D'font-size:10.0pt'>Fo=
r example,
this is copied directly from one of these
windows,</span></font></tt><br>
<tt><font size=3D2 face=3D"Courier New"><span
style=3D'font-size:10.0pt'>di=
splaying a
news.story message from xAP News 3, and hopefully
it'll</span></font></tt><=
br>
<tt><font size=3D2 face=3D"Courier New"><span
style=3D'font-size:10.0pt'>ap=
pear
correctly:</span></font></tt><br>
<br>
<tt><font size=3D2 face=3D"Courier New"><span
style=3D'font-size:10.0pt'>&n=
bsp;&nbsp;&nbsp;
Desc=3DToppnyheter fr=E5n
www.svd.se</span></font></tt><br>
<br>
<tt><font size=3D2 face=3D"Courier New"><span
style=3D'font-size:10.0pt'>Th=
e only
thing I've adjusted thus far is the way that xAP Send
reads</span></font></=
tt><br>
<tt><font size=3D2 face=3D"Courier New"><span
style=3D'font-size:10.0pt'>in=
the
message files from disc.</span></font></tt><br>
<br>
<tt><font size=3D2 face=3D"Courier New"><span
style=3D'font-size:10.0pt'>So=
I'm
really not sure what's happening after this. James.
any</span></font></tt><=
br>
<tt><font size=3D2 face=3D"Courier New"><span
style=3D'font-size:10.0pt'>th=
oughts on
how best to continue debugging
this?</span></font></tt><br>
<br>
<tt><font size=3D2 face=3D"Courier New"><span
style=3D'font-size:10.0pt'>S<=
/span></font></tt><br>
<tt><font size=3D2 face=3D"Courier New"><span
style=3D'font-size:10.0pt'>--=
</span></font></tt><br>
<tt><font size=3D2 face=3D"Courier New"><span
style=3D'font-size:10.0pt'>St=
uart Booth
&lt;<st1:PersonName
w:st=3D"on">stuart@xxxxxxx</st1:PersonName>&gt=
;</span></font></tt><br>
<tt><font size=3D2 face=3D"Courier New"><span
style=3D'font-size:10.0pt'>xA=
PFramework.NET
- a xAP software development framework for
.NET</span></font></tt><br>
<br>
<br>
<font color=3D"#909090"><span
style=3D'color:#909090'><o:p></o:p></span></f=
ont></p>

</div>

</br><!-- **end egp html banner** -->


=20=20=20=20
<!-- **begin egp html banner** -->

<br><br>
<div style=3D"width:500px; text-align:right; margin-bottom:1px;
color:#90=
9090;">
<tt>SPONSORED LINKS</tt>
</div>
<table bgcolor=3D#e0ecee cellspacing=3D"13"
cellpadding=3D"0" width=3D500=
px>=20=20=20=20=20=20=20=20
<tr valign=3Dtop>
<td style=3D"width:25%;">
<tt><a href=3D"http://groups.yahoo.com/gads?t=3Dms&k=3DWorkflow+aut=
omation&w1=3DWorkflow+automation&w2=3DAutomation+equipment&w3=3DIndustrial+=
automation&w4=3DTest+automation&w5=3DSales+automation&w6=3DFactory+automati=
on&c=3D6&s=3D145&.sig=3DF4tRNBO_G_ZzajQmbmwe7Q">Workflow
automation</a></tt=
>
</td>
<td style=3D"width:25%;">
<tt><a href=3D"http://groups.yahoo.com/gads?t=3Dms&k=3DAutomation+e=
quipment&w1=3DWorkflow+automation&w2=3DAutomation+equipment&w3=3DIndustrial=
+automation&w4=3DTest+automation&w5=3DSales+automation&w6=3DFactory+automat=
ion&c=3D6&s=3D145&.sig=3D9-eliEiH2rHCvwCe6xpvLw">Automation
equipment</a></=
tt>
</td>
<td style=3D"width:25%;">
<tt><a href=3D"http://groups.yahoo.com/gads?t=3Dms&k=3DIndustrial+a=
utomation&w1=3DWorkflow+automation&w2=3DAutomation+equipment&w3=3DIndustria=
l+automation&w4=3DTest+automation&w5=3DSales+automation&w6=3DFactory+automa=
tion&c=3D6&s=3D145&.sig=3DxI5A0mNmlPHiPI__bxZwUQ">Industrial
automation</a>=
</tt>
</td>
</tr>
<tr valign=3Dtop>
<td style=3D"width:25%;">
<tt><a href=3D"http://groups.yahoo.com/gads?t=3Dms&k=3DTest+automat=
ion&w1=3DWorkflow+automation&w2=3DAutomation+equipment&w3=3DIndustrial+auto=
mation&w4=3DTest+automation&w5=3DSales+automation&w6=3DFactory+automation&c=
=3D6&s=3D145&.sig=3DbabdTZ-cZ8AbgxQRUJqztw">Test
automation</a></tt>
</td>
<td style=3D"width:25%;">
<tt><a href=3D"http://groups.yahoo.com/gads?t=3Dms&k=3DSales+automa=
tion&w1=3DWorkflow+automation&w2=3DAutomation+equipment&w3=3DIndustrial+aut=
omation&w4=3DTest+automation&w5=3DSales+automation&w6=3DFactory+automation&=
c=3D6&s=3D145&.sig=3D-x7c78RB2nUpuPBRifr1YA">Sales
automation</a></tt>
</td>
<td style=3D"width:25%;">
<tt><a href=3D"http://groups.yahoo.com/gads?t=3Dms&k=3DFactory+auto=
mation&w1=3DWorkflow+automation&w2=3DAutomation+equipment&w3=3DIndustrial+a=
utomation&w4=3DTest+automation&w5=3DSales+automation&w6=3DFactory+automatio=
n&c=3D6&s=3D145&.sig=3DzQtSND_pDmyn0UaMn4LPgQ">Factory
automation</a></tt>
</td>
</tr>
</tr>
</table>=20=20=20=20=20
=20=20
<!-- **end egp html banner** -->



<!-- **begin egp html banner** -->

<br>
<div style=3D"text-align:center; color:#909090;
width:500px;">
<hr style=3D"border-bottom:1px; width:500px;
text-align:left;">
<tt>YAHOO! GROUPS LINKS</tt>
</div>
<br>
<ul>
<tt><li type=3Dsquare>&nbsp;Visit your group "<a
href=3D"http://groups.ya=
hoo.com/group/xap_automation">xap_automation</a>" on the
web.<br>&nbsp;</tt=
>
<tt><li type=3Dsquare>&nbsp;To unsubscribe from this group,
send an email=
to:<br>&nbsp;<a href=3D"mailto:xap_automation-unsubscribe@xxxxxxx?=
subject=3DUnsubscribe">xap_automation-unsubscribe@xxxxxxx</a><br>&n=
bsp;</tt>
<tt><li type=3Dsquare>&nbsp;Your use of Yahoo! Groups is
subject to the <=
a href=3D"http://docs.yahoo.com/info/terms/";>Yahoo!
Terms of Service</a>.</=
tt>
</ul>
<br>
<div style=3D"text-align:center; color:#909090;
width:500px;">
<hr style=3D"border-bottom:1px; width:500px;
text-align:left;">
</div>
</br>

<!-- **end egp html banner** -->


</body>

</html>

------=_NextPart_000_0017_01C5EB0D.3F165EA0--



xAP_Automation Main Index | xAP_Automation Thread Index | xAP_Automation Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.