[reportlab-users] Come on, i am so messed up and i need anything from u

sarah el-lawindy reportlab-users@reportlab.com
Fri, 5 Dec 2003 14:58:32 -0800 (PST)


--0-1076870835-1070665112=:51006
Content-Type: text/plain; charset=us-ascii

Sir,
 this is a mail i wrote before, but no one replied back. anyway, i said that something might happened and noone saw it.
 i hope that anyone replies back to say whether i am in the right direction or not.
 i want to ak about another thing, does this relates to the problem of cezch character or not.
 i hope anyone replies back, thanks in advance.
sam ellawindy


Sir,
 i forget telling u something , a warning was araised during compilation :

         sys:1: DeprecationWarning: Non-ASCII character '\xca' in file wxApp1.py on line 42, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
      C:\PYTHON23\lib\reportlab\pdfbase\ttfonts.py:309: FutureWarning: x<<y losing bits or changing sign will return a long in Python 2.4 and up

    ####where line 42 is the unicode string  i want to write in the pdf file

so i fetched the given URL (pep-0263), from it , i understood that if we want to use a certain encoding, then the whole src code of the python should use the same encoding.
 i assumed then that we need to change 1st the file encoding  and then we could use the one that is used in arabic (normally, the arabic encoding used with windows is - AR8MSWIN1256)(p.s. the platform used is win98 )
i got 2 questions then:
  1. whether i got that document wrong or right?
  2. if i got it right, how to change the source code file encoding?

thanks u for ur concern,
   sarah ellawindy


 


---------------------------------
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard


---------------------------------
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
--0-1076870835-1070665112=:51006
Content-Type: text/html; charset=us-ascii

<DIV>Sir,<BR>&nbsp;this is a mail i wrote before, but no one replied back. anyway, i said that something might happened and noone saw it.<BR>&nbsp;i hope that anyone replies back to say whether i am in the right direction or not.<BR>&nbsp;i want to ak about another thing, does this relates to the problem of cezch character or not.<BR>&nbsp;i hope anyone replies back, thanks in advance.<BR>sam ellawindy<BR><BR><B><I></I></B>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">
<P>Sir,<BR>&nbsp;i forget telling u something , a warning&nbsp;was araised during compilation :</P>
<P><FONT color=#400000 size=1>&nbsp;&nbsp;&nbsp;&nbsp;<FONT color=#ff007f>&nbsp;&nbsp;&nbsp;&nbsp; sys:1: DeprecationWarning: Non-ASCII character '\xca' in file wxApp1.py on line 42, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\PYTHON23\lib\reportlab\pdfbase\ttfonts.py:309: FutureWarning: x&lt;&lt;y losing bits or changing sign will return a long in Python 2.4 and up</FONT></FONT></P><FONT color=#400000 size=1>
<P><FONT face="times new roman">&nbsp;&nbsp;&nbsp; <FONT color=#000000>####where line 42 is the unicode string&nbsp; i want to write in the pdf file</FONT></FONT></P>
<P></FONT>so i&nbsp;fetched the given URL (pep-0263), from it , i understood that if we&nbsp;want to use&nbsp;a certain encoding, then the whole src code of the python should use the same encoding.<BR>&nbsp;i assumed then that we need to change 1st the file encoding&nbsp; and then we could use the one that is used in arabic (normally, the arabic encoding used with windows is - AR8MSWIN1256)(p.s.&nbsp;the platform used is win98&nbsp;)<BR>i got 2 questions then:<BR>&nbsp; 1. whether i got that document wrong or right?<BR>&nbsp; 2. if i got it right, how to change the source code file encoding?</P>
<P>thanks u for ur concern,<BR>&nbsp;&nbsp; sarah ellawindy<BR></P>
<P> </P>
<P>
<HR SIZE=1>
Do you Yahoo!?<BR><A href="http://antispam.yahoo.com/whatsnewfree">Protect your identity with Yahoo! Mail AddressGuard</A></BLOCKQUOTE></DIV><p><hr SIZE=1>
Do you Yahoo!?<br>
<a href="http://us.rd.yahoo.com/slv/mailtag/*http://companion.yahoo.com/">Free Pop-Up Blocker - Get it now</a>
--0-1076870835-1070665112=:51006--