The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[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: Tue, 1 Nov 2005 03:13:50 +0100

------=_NextPart_000_0000_01C5DE92.47F50A80
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit



Hi Stuart,



Thank you for the help. I have got it working now but the values UTF8 and
UTF7 should be written as UTF-8 and UTF-7. When I tried it with UTF-8 all
extended characters where removed from the messages. Then I tried UTF-7 and
that worked. Great!



Thank you Stuart!



/Ove

That's the correct place to look. I don't usually put all the
parameters in for each application, but the sample app config file is
indeed the definitive list. Here's what's in it that should be a
solution I think:

<!-- xAP message encoding format. Normally ASCII encoding is
specified to allow for low-end display devices, but an
alternative encoding format may be required to allow for
accented characters and the like in strings. Choose
between any of the following; Default, ASCII, Unicode, UTF7,
UTF8 -->
<add key="xAPCharacterEncoding" value="UTF8" />

Add that and set it to UTF8 as shown. That was a fix that came from
somebody else having a similar problem with MP3 tags IIRC. As I recall
they fixed it in the code themselves (sorry, I forget who it was
without hunting back in time!!) so I added this as an option. This was
fixed back in April 2005, so the xAPMessage.DLL and xAPTransport.DLL
files should be dated 21st April or later to incorporate this fix.

HTH!





------=_NextPart_000_0000_01C5DE92.47F50A80
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<html xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40";>

<head>
<meta http-equiv=Content-Type content="text/html;
charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 11 (filtered
medium)">
<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:485979454;
mso-list-template-ids:1695207644;}
@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=SV link=blue vlink=blue>



<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span
style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 color=navy face="Times New
Roman"><span
lang=EN-GB style='font-size:12.0pt;color:navy'>Hi
Stuart,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 color=navy face="Times New
Roman"><span
lang=EN-GB
style='font-size:12.0pt;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 color=navy face="Times New
Roman"><span
lang=EN-GB style='font-size:12.0pt;color:navy'>Thank you for the help. I
have got
it working now but the values UTF8 and UTF7 should be written as UTF-8 and
UTF-7.
When I tried it with UTF-8 all extended characters where removed from the
messages.
Then I tried UTF-7 and that worked.
Great!<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 color=navy face="Times New
Roman"><span
lang=EN-GB
style='font-size:12.0pt;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 color=navy face="Times New
Roman"><span
lang=EN-GB style='font-size:12.0pt;color:navy'>Thank you
Stuart!<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 color=navy face="Times New
Roman"><span
lang=EN-GB
style='font-size:12.0pt;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 color=navy face="Times New
Roman"><span
lang=EN-GB
style='font-size:12.0pt;color:navy'>/Ove</span></font><span
lang=EN-GB><br>
<br>
</span><tt><font size=2 face="Courier
New"><span lang=EN-GB style='font-size:
10.0pt'>That's the correct place to look. I don't usually put all
the</span></font></tt><span
lang=EN-GB><br>
</span><tt><font size=2 face="Courier
New"><span lang=EN-GB style='font-size:
10.0pt'>parameters in for each application, but the sample app config
file is</span></font></tt><span
lang=EN-GB><br>
</span><tt><font size=2 face="Courier
New"><span lang=EN-GB style='font-size:
10.0pt'>indeed the definitive list.
He</span></font></tt><tt><font size=2
face="Courier New"><span style='font-size:10.0pt'>re's
what's in it that should
be a</span></font></tt><br>
<tt><font size=2 face="Courier New"><span
style='font-size:10.0pt'>solution I
think:</span></font></tt><br>
<br>
<tt><font size=2 face="Courier New"><span
style='font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;!-- xAP message encoding format. Normally ASCII encoding is
specified to
allow for low-end display devices, but
an</span></font></tt><br>
<tt><font size=2 face="Courier New"><span
style='font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
alternative encoding format may be required to allow for accented
characters
and the like in strings.
Choose</span></font></tt><br>
<tt><font size=2 face="Courier New"><span
style='font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
between any of the following; Default, ASCII, Unicode, UTF7, UTF8
--&gt;</span></font></tt><br>
<tt><font size=2 face="Courier New"><span
style='font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;add key=&quot;xAPCharacterEncoding&quot;
value=&quot;UTF8&quot;
/&gt;</span></font></tt><br>
<br>
<tt><font size=2 face="Courier New"><span
style='font-size:10.0pt'>Add that and
set it to UTF8 as shown. That was a fix that came
from</span></font></tt><br>
<tt><font size=2 face="Courier New"><span
style='font-size:10.0pt'>somebody
else having a similar problem with MP3 tags IIRC. As I
recall</span></font></tt><br>
<tt><font size=2 face="Courier New"><span
style='font-size:10.0pt'>they fixed
it in the code themselves (sorry, I forget who it
was</span></font></tt><br>
<tt><font size=2 face="Courier New"><span
style='font-size:10.0pt'>without
hunting back in time!!) so I added this as an option. This
was</span></font></tt><br>
<tt><font size=2 face="Courier New"><span
style='font-size:10.0pt'>fixed back
in April 2005, so the xAPMessage.DLL and
xAPTransport.DLL</span></font></tt><br>
<tt><font size=2 face="Courier New"><span
style='font-size:10.0pt'>files should
be dated 21st April or later to incorporate this
fix.</span></font></tt><br>
<br>
<tt><font size=2 face="Courier New"><span
style='font-size:10.0pt'>HTH!</span></font></tt><br>
<br>
<br>
<font color="#909090"><span
style='color:#909090'><o:p></o:p></span></font></p>

</div>

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




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

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

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


</body>

</html>

------=_NextPart_000_0000_01C5DE92.47F50A80--



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.