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

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="country-region"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="Street"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="address"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Arial Black";
        panose-1:2 11 10 4 2 1 2 2 2 4;}
 /* 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:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-AU link=blue vlink=purple>

<div class=Section1>

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

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

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I have a string that is posted to my python program (which I
cant control) that contains the literal <b><font color=blue><span
style='color:blue;font-weight:bold'>r&#8217;\x7E\x0D\x0A&#8217;</span></font></b>
and I want it to convert it to equal <b><font color=blue><span
style='color:blue;font-weight:bold'>&#8216;~\r\n&#8217;</span></font></b><o:p></o:p></span></font></p>

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

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Is there a way to convert this string ?<o:p></o:p></span></font></p>

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

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

<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><b><font size=3 color=blue face=Arial><span
style='font-size:12.0pt;font-family:Arial;color:blue;font-weight:bold'>Bryce
Macdonald</span></font></b><font color=navy><span style='color:navy'><o:p></o:p></span></font></p>

<p><font size=3 color=blue face="Arial Black"><span style='font-size:12.0pt;
font-family:"Arial Black";color:blue'>4</span></font><font color=navy
face="Arial Black"><span style='font-family:"Arial Black";color:navy'>Solutions
Information Technology Pty Ltd</span></font><font color=navy><span
style='color:navy'><o:p></o:p></span></font></p>

<p style='margin:0cm;margin-bottom:.0001pt'><font size=2 color=blue face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:blue'>Level 21</span></font><font
color=navy><span style='color:navy'><o:p></o:p></span></font></p>

<p style='margin:0cm;margin-bottom:.0001pt'><st1:Street w:st="on"><st1:address
 tabIndex="0"
 style="BACKGROUND-POSITION: left bottom; BACKGROUND-IMAGE: url(res://ietag.dll/#34/#1001); BACKGROUND-REPEAT: repeat-x"
 w:st="on"><font size=2 color=blue face=Arial><span style='font-size:10.0pt;
  font-family:Arial;color:blue'>201 Miller Street</span></font></st1:address></st1:Street><font
color=navy><span style='color:navy'><o:p></o:p></span></font></p>

<p style='margin:0cm;margin-bottom:.0001pt'><st1:place w:st="on"><font size=2
 color=blue face=Arial><span style='font-size:10.0pt;font-family:Arial;
 color:blue'>North Sydney</span></font></st1:place><font size=2 color=blue
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:blue'> NSW
2060</span></font><font color=navy><span style='color:navy'><o:p></o:p></span></font></p>

<p style='margin:0cm;margin-bottom:.0001pt'><st1:place w:st="on"><st1:country-region
 w:st="on"><b><font size=2 color=blue face=Arial><span style='font-size:10.0pt;
  font-family:Arial;color:blue;font-weight:bold'>AUSTRALIA</span></font></b></st1:country-region></st1:place><font
color=navy><span style='color:navy'><o:p></o:p></span></font></p>

<p style='margin:0cm;margin-bottom:.0001pt'><font size=3 color=navy
face="Times New Roman"><span style='font-size:12.0pt;color:navy'>&nbsp;<o:p></o:p></span></font></p>

<p style='margin:0cm;margin-bottom:.0001pt'><font size=2 color=navy
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
color:navy'>Mob : [+61|0] 414 981 787</span></font><font color=navy><span
style='color:navy'><o:p></o:p></span></font></p>

<p style='margin:0cm;margin-bottom:.0001pt'><font size=2 color=navy
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
color:navy'>Tel : [+61|0] 2 9025 3703</span></font><font color=navy><span
style='color:navy'><o:p></o:p></span></font></p>

<p style='margin:0cm;margin-bottom:.0001pt'><font size=2 color=navy
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
color:navy'>Fax : [+61|0] 2 9980 5089</span></font><o:p></o:p></p>

<p style='margin:0cm;margin-bottom:.0001pt'><font size=3 color=navy
face="Times New Roman"><span style='font-size:12.0pt;color:navy'>&nbsp;<o:p></o:p></span></font></p>

<p style='margin:0cm;margin-bottom:.0001pt'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'><a
href="mailto:bryce@4Solutions.com.au" title="mailto:bryce@4Solutions.com.au">bryce@4Solutions.com.au</a></span></font><font
color=navy><span style='color:navy'><o:p></o:p></span></font></p>

<p style='margin:0cm;margin-bottom:.0001pt'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'><a
href="http://www.4Solutions.com.au" title="http://www.4Solutions.com.au">www.4Solutions.com.au</a></span></font><font
color=navy><span style='color:navy'><o:p></o:p></span></font></p>

<p style='margin:0cm;margin-bottom:.0001pt'><font size=3 color=navy
face="Times New Roman"><span style='font-size:12.0pt;color:navy'>&nbsp;<o:p></o:p></span></font></p>

<p style='margin:0cm;margin-bottom:.0001pt'><em><i><font size=3 color=navy
face=Verdana><span style='font-size:12.0pt;font-family:Verdana;color:navy'>For
all your support needs call us on </span></font></i></em><strong><b><i><font
size=2 color=navy face=Verdana><span style='font-size:10.0pt;font-family:Verdana;
color:navy;font-style:italic'>1300 305 902</span></font></i></b></strong><em><i><font
color=navy face=Verdana><span style='font-family:Verdana;color:navy'> or e-mail
to </span></font></i></em><em><i><font size=2 color=navy face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:navy'><a
href="mailto:support@4solutions.com.au" title="mailto:support@4solutions.com.au"><font
size=3 face=Verdana><span style='font-size:12.0pt;font-family:Verdana'><span
title="mailto:support@4solutions.com.au"><span
title="mailto:support@4solutions.com.au">support@4solutions.c</span></font><font
size=3 face=Verdana><span style='font-size:12.0pt;font-family:Verdana'>o</span></span></font><font
size=3 face=Verdana><span style='font-size:12.0pt;font-family:Verdana'>m</span></span></font><font
size=3 face=Verdana><span style='font-size:12.0pt;font-family:Verdana'>.</span></font><font
size=3 face=Verdana><span style='font-size:12.0pt;font-family:Verdana'><span
title="mailto:support@4solutions.com.au">a</span></span></font><font size=3
face=Verdana><span style='font-size:12.0pt;font-family:Verdana'><span
title="mailto:support@4solutions.com.au">u</span></span></font></a></span></font></i></em>&nbsp;<o:p></o:p></p>

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

</div>

</body>

</html>