2006年09月08日 星期五 10:03
~º&r;Ü©zȦ¦í)ìµËr¥ë0weºt¸ªò b å³+-zmöêçz]övYK¡§KºÚ¯+´ºjTâèbËRzÒèq©Sgªæ¥°+zØhtg=×kzË{-I¢yÞrص§]ë,o)¶©±ëK¡Æ¥N)ÛM:Ó͸×m4ÓG%jËjW¶»¶êÞ~'¥vÌyªÜ{p2í ȧ· ÚÉȧ·èº·"Ü{yȧ·rÝr)íµé©q©^q©^µé©q©^Á¯m4êצ¥Æ¥{(Ø
2006年09月08日 星期五 14:15
搞那么复杂。。。。 这样: os.system("date 2006-09-08") windows & unix 下都有 date 命令。 在 06-9-8,Python Santa<santapython at gmail.com> 写道: > 下面这段程序 该如何修改? > from ctypes import * > hinst=ctypes.windll.LoadLibrary("C:\\WINDOWS\\system32\\kernel32.dll") > #LoadLibrary > setLocalTime = hinst.SetLocalTime > #equals C's Method GetPRocAddress(Hinst,"SRDConnect") get > address by method name > #setLocalTime("2006-08-24 12:00:00") > class cale(Structure): > _fields_ = [("wYear", c_int), > ("wMonth", c_int), > ("wDay", c_int), > ("wHour", c_int), > ("wMinute", c_int), > ("wSecond", c_int)] > temp_cale = cale() > temp_cale.wYear=2006 > temp_cale.wMonth=1 > temp_cale.wDay=8 > temp_cale.wHour=8 > temp_cale.wMinute=8 > temp_cale.wSecond=8 > setLocalTime(byref(temp_cale)) > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to > python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to > python-chinese-request at lists.python.cn > Detail Info: > http://python.cn/mailman/listinfo/python-chinese > -- Best regrads, IQDoctor
2006年09月10日 星期日 14:26
上午搞一个模板,折腾了一上午,发现一个非常奇怪的问题。原本在本机设计好的模板,IE浏览起来都很正常了,可一放到django里面,版面就错位,头都想破了,也没想明白是咋回事。最后,出了一个狠招,把通过django输出的页面,和原来的模板进行二进制比对,才发现,django在每个页面前都添加了ff fe ff fe四个特殊的字符,就是这几个字符导致ie在浏览的时候出现版面错位。可用firefox浏览却正常。django为啥要这么干? 致 礼! charles huang hyy在fjii.com 2006-09-10
2006年09月10日 星期日 14:39
上午搞一个模板,折腾了一上午,发现一个非常奇怪的问题。原本在本机设计好的模板,IE浏览起来都很正常了,可一放到django里面,版面就错位,头都想破了,也没想明白是咋回事。最后,出了一个狠招,把通过django输出的页面,和原来的模板进行二进制比对,才发现,django在每个页面前都添加了ff fe ff fe四个特殊的字符,就是这几个字符导致ie在浏览的时候出现版面错位。可用firefox浏览却正常。django为啥要这么干? 致 礼! charles huang hyy在fjii.com 2006-09-10
2006年09月10日 星期日 15:20
上午搞一个模板,折腾了一上午,发现一个非常奇怪的问题。原本在本机设计好的模板,IE浏览起来都很正常了,可一放到django里面,版面就错位,头都想破了,也没想明白是咋回事。最后,出了一个狠招,把通过django输出的页面,和原来的模板进行二进制比对,才发现,django在每个页面前都添加了ff fe ff fe四个特殊的字符,就是这几个字符导致ie在浏览的时候出现版面错位。可用firefox浏览却正常。django为啥要这么干? 致 礼! charles huang hyy在fjii.com 2006-09-10
2006年09月10日 星期日 16:33
º×õèv6§Í´Ó¯ýÿ] ªåzÈnjx!Ë'ã'(©à¡ØÚ ©à¡÷ßy÷ßz'·£cjx(r«ë!¹©à,(¢m´Ó=×Jr¶'r§zÇ¢ËlzwiÊØhÈbë+-²Ü+±ÊâmëÛ.nÇ+·¢Ü)Þ±êު笶X¬¶Êr¶'ru'²æìr¸zǧvéì¹»®&Þ¶r¶'r§zÇ«z«²Ùb²Û)ÊØhÉÃz֢ߢm§ÿéÊØhÉÿ¨¥©ÿ+-wèþÜ)Þ±áÓ0µ.m§ÿéÊØhÉÿ¦*^®f¢úr¶'r§zÇ¿jÛZrÛ?ÛM:ÓÝtÿo_ÕæßÓöµ§!éíÓM5Ù¥
2006年09月10日 星期日 22:53
这是IE的自作聪明的BUG,呵呵。 有的时候IE会直接把空格想象成 来显示的,当然,有的时候也会把换行和回车直接显示出来。 串行一般是因为你定义的block换行了。django的模版也比较象jsp的,里面的标签也会被解释成一个新的换行,所以,把定义的block如果是空的就写在一行里面把。 或者,把整个网页的各个部分都放在div里面。 2006/9/10, charles huang <hyy在fjii.com>: > 上午搞一个模板,折腾了一上午,发现一个非常奇怪的问题。原本在本机设计好的模板,IE浏览起来都很正常了,可一放到django里面,版面就错位,头都想破了,也没想明白是咋回事。最后,出了一个狠招,把通过django输出的页面,和原来的模板进行二进制比对,才发现,django在每个页面前都添加了ff fe ff fe四个特殊的字符,就是这几个字符导致ie在浏览的时候出现版面错位。可用firefox浏览却正常。django为啥要这么干? > > 致 > 礼! > > > charles huang > hyy在fjii.com > 2006-09-10 > > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese
2006年09月10日 星期日 23:15
§+a¢}¸ÝªZr¥§!{m9÷§ßl|êz,²Y¬j§+a¢y¨v÷Û]0}ö§-¸j í´{¥§!zm¥Ê'RèiÓ(vé^§+a¢y¨vé^në?iÊØhÊ6*ÞrÚ+È/Ï®+jabë? á«¢ê í¿×hrÀtv§vW«iÊØhÊØhv§vW«^²Óò¶' æîéÿ*ÞrÚ+ɪZr¥§!zÖ©iÈ^"fjÖjÜ"¶²±éìyùrx"Ø^uªä3#6¨Êæ§Æçµ×Èh¶f¢Ê&3 e¢m¶ÿnzËnv*¹hÇ(g¥r¶©®+ji©Ý¶©®+jih½ê
2006年09月11日 星期一 12:46
ÄÄλÅäÖóɹ¦¹ý£¡°ï°ïÎÒ£¬Ð¡µÜÏÈллÁË¡£ ÎÒ×°µÄpythonÊÇ2.4.3£¬×°µÄapacheÊÇ£ºapache_2.0.59-win32-x86-no_ssl.msi ×°µÄmod_pythonÊÇ£ºmod_python-3.2.10.win32-py2.4-apache2.0.exe ÔÚapacheµÄhttp.confÎļþÖмÓÈëÏÂÃ漸Ï 1.LoadModule python_module modules/mod_python.so 2.AddHandler mod_python .py PythonHandler mptest PythonDebug On ÍêÁË£¬apache×ÜÆð²»À´£¬ÓÃapache -t²âÊÔÓ﷨ûÎÊÌ⣡ Çë½Ìһϣ¬ÈçºÎÅäÖòÅÄÜÆô¶¯apache£¿Ð»Ð»£¡ -------------------------------------------------------- ZTE Information Security Notice: The information contained in this mail is solely property of the sender's organization. This mail communication is confidential. Recipients named above are obligated to maintain secrecy and are not permitted to disclose the contents of this communication to others. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. Any views expressed in this message are those of the individual sender. This message has been scanned for viruses and Spam by ZTE Anti-Spam system. -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20060911/8e11c442/attachment.html
2006年09月11日 星期一 13:32
error log? ÔÚ06-9-11£¬tan.jincan在zte.com.cn <tan.jincan在zte.com.cn> дµÀ£º > > > ÄÄλÅäÖóɹ¦¹ý£¡°ï°ïÎÒ£¬Ð¡µÜÏÈллÁË¡£ > > > > > > > ÎÒ×°µÄpythonÊÇ2.4.3£¬×°µÄapacheÊÇ£ºapache_2.0.59-win32-x86-no_ssl.msi > ×°µÄmod_pythonÊÇ£ºmod_python-3.2.10.win32-py2.4-apache2.0.exe > > ÔÚapacheµÄhttp.confÎļþÖмÓÈëÏÂÃ漸Ï > > 1.LoadModule python_module modules/mod_python.so > 2. >> AddHandler mod_python .py > PythonHandler mptest > PythonDebug On > > > ÍêÁË£¬apache×ÜÆð²»À´£¬ÓÃapache -t²âÊÔÓ﷨ûÎÊÌ⣡ > Çë½Ìһϣ¬ÈçºÎÅäÖòÅÄÜÆô¶¯apache£¿Ð»Ð»£¡ > > > > -------------------------------------------------------- > ZTE Information Security Notice: The information contained in this mail is solely property of the sender's organization. This mail communication is confidential. Recipients named above are obligated to maintain secrecy and are not permitted to disclose the contents of this communication to others. > This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. Any views expressed in this message are those of the individual sender. > This message has been scanned for viruses and Spam by ZTE Anti-Spam system. > > > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20060911/22afe4a6/attachment.html
2006年09月11日 星期一 14:26
ú趦)^° Zr®© ív©iÈ^µ,§µ¬N(#ë¢ ÚX¥zÀ)iÈ^º.¤ Zr¶n)çzÛ-j»Z¥§!{dáx Zr¶±êïÇ¢²ËZ®Ø§8^ í¬z»âqç(ºWg¢ÖÞ²Ö«µç@±êïǬ¥ç"~'®º+¡Ç.®·ÔÊ+z¥¦+½¨¥i¹^o+r¦)à4DdzÌHmùã°®+jabë ¥§!xjèº)iÈ^Ù¸§ëazZf² ùã°,z»âqë)yÈÇ«®èqË«çD\òÀ4È8Ð,z»âqë)yÈÇ«®èqË«ç@ 25z»h¶zZhÚºg§µ«b¢wè®ØZ¶Ç«¾'¶^µêæw êk¡¹^#ë¢ ÚX¥zÀ)iÈ^º.¤ Zr¶n)
2006年09月11日 星期一 14:27
在windows下apache与mod_python的版本有一个搭配的问题,以前也讨论过,3.2.10不行就换3.2.9试一试。 -- I like python! My Blog: http://www.donews.net/limodou UliPad Site: http://wiki.woodpecker.org.cn/moin/UliPad UliPad Maillist: http://groups.google.com/group/ulipad
2006年09月11日 星期一 22:07
最好是看一下apache的日志分析一下。这是找出问题的第一步。 在06-9-10,tan.jincan at zte.com.cn <tan.jincan at zte.com.cn> 写道: > > > 我装的python是2.4.3,装的apache是:apache_2.0.59-win32-x86-no_ssl.msi > 装的mod_python是:mod_python-3.2.10.win32-py2.4-apache2.0.exe > > 在apache的http.conf文件中加入下面几项: > > 1.LoadModule python_module modules/mod_python.so > 2. >> AddHandler mod_python .py > PythonHandler mptest > PythonDebug On > > > 完了,apache总起不来,用apache -t测试语法没问题! > 请教一下,如何配置才能启动apache?谢谢! > ================================================= > 我是蝙蝠,一只在黑暗中靠感觉飞翔的蝙蝠! > I'm a bat,a bat with my sense flying in the dark! > ================================================= > My MSN: gaoyuanxue118 at hotmail.com > My Blog:http://boyeestudio.cnblogs.com > Welcome the programmer and the program lover! > ================================================= > > -------------------------------------------------------- > ZTE Information Security Notice: The information contained in this mail is solely property of the sender's organization. This mail communication is confidential. Recipients named above are obligated to maintain secrecy and are not permitted to disclose the contents of this communication to others. > This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. Any views expressed in this message are those of the individual sender. > This message has been scanned for viruses and Spam by ZTE Anti-Spam system. > > > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > -- tommy xiao QQ: 2667799 MSN Messenger: xds2000ATmsn.com E-mail: xiaodsATgmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://python.cn/pipermail/python-chinese/attachments/20060911/54df5dcf/attachment.html
2006年09月11日 星期一 22:18
j ä6j§+a¢s('©×]xß;ÛM:bqé¨vÂæx<±ë,æº×±zÆÚ±çhIÆèqë,zƧwnt¬m·vÃ('©×]xß;ÛM:bqà)iÈ^ÿm9õh§ßi¨vÿßmt?+a¢öãw(ø º·ë.)àæjZ)z¶ì2Òzu×øÓ½´Ó©è¶'Iêïz¶î[Iº]»ÛM:×yÓs('©×]xß;ÛM:bqãÚéí ·µç\)]¦ºzË6Óm¢t§]uã~4ïm4êz-Ǧ¡Úr¶' ·¶)àòǬ²*'ë^ÅëjÇ¢}&k;k¡Ç¬±ëݹÒf±¶ÞiÛ¢t§]uã~4ïm4êz-Ç)]ÛM´ ¥vèqë,Êîx§Ê'Iêu×^7ãNöÓN§¢Øx(bÝ´Û@ªè«yÛazËZ®Ù®µìL¢t§]uã~4ïm4êz-Ç)]ÛM´JÖ«¶)àÛ0¢¹®Øky§l2Òzu×uçM´Ó©è¶'=ªÞÔ^qè¯yÛ!º×hÂ{"v¥J¶)àv'¶¬z»Þ¬Ê'Iêu×^u×6ÓN§¢Øx(bÝ´ÛA1ׯz{l ÚçB)]¦ºzË"±éÝx¢t§]uç]y×m4êz-Ç)]ÛM´Eé^jǶ¬µªíë^ÄÊ'Iêu×^u׶ÓN§¢Øx(bÝ´ÛEاú+Û0¢¹®Øky§l¶±Ó('©×]y×^vÛM:bqà¡WvÓm \(®G«¶ÞiÛ!j÷Æ+^tÊ'Iêu×^u׶ÓN§¢Øx(bÝ´Û@¡Wi®²È¬{x¢t§]uç]yÛm4êz-Çj·§´(bÚk¡Ç¬±ìbµçl¹Ç²Çî\¢t§]u÷nöçm4êz-Ç¥§!{ý´çÕ¢}Tßõß`ÀWý¢wâêÞv·¬ºh§z+©h¥êÚ¶*'°Ê'Iêu×_vïnvÓN§¢Øy'«½êÛº)m&évïm4ë^yçMÌ¢t§]u÷nöçm4êz-Çj·§´*Þj×r¥vèqë,Ûz2Òzu×ݻ۴Ӭ®y¨vé^u«ì¾y¨vé^Æ¥æÊZuçl*ix¢t§]u÷nöçm4ë«jºWºØs²ùæ¡Û¥z+·w)hiײH©¦)à2Òzu×ݻ۴өè¶' ¥wn5è(bÚk¡Ç¬²++ºyâ('©×]}Û½¹ÛM:bqà¡Wvã^r«¢çm ë-j»fº×±2Òzu×ݻ۴өè¶' ¥wn5é+Z®Ø§ntÂäz»aæ°Ê'Iêu×_vóN6ÓN§¢Øxö«z{QyÇ¢½çlë]£ ì Ú(n¶Ø§Ú0Ø^±êïz³('©×]}ÛÍ8ÛM:bqà¡Wvã^Æ+^½éí²('jW ¥vèqë,ǧv)à2Òzu×ݼӴөè¶' ¥wn5é¥y«vØ^²Ö«¶k{('©×]}ÛÍ:ÛM:bqà¡Wvã^j+bè¯ntÂäz»aæ²ÚÆ+L¢t§]u÷o4ëm4êz-Ç)]ÛzYp¢¹®Øky§l «Þ{yÓ('©×]}ÛÍ:ÛM:bqà¡Wvã^)]¦ºzË"±ìb¶)à2Òzu×ݼӴөè¶'=ªÞСWi®²Ç±×²çz˺Yr2ÒzuÛ]ú×}´Ó©è¶' ïöÓV}öIS×}_örß«yÚÞ²é¢ è®f¥¢«jبÃ('©×]µßwÛM:bqä®÷«n襴¥Û½´Óyç72ÒzuÛ]ú×}´Ó©è¶'=ªÞЫy«^uÈbÚk¡Ç¬³}:ÐÊ'Iêu×mwë]öÓN°j¹æ¡Û¥yÖ¯²ùæ¡Û¥z+·w)hiײH©¦)à2ÒzuÛ]ú×}´Ó¬®y¨vé^jëaÎËçnè¬jZÞiÜ¥¡§^vÉ"¦§Ê'Iêu×mwë]öÓN§¢Øx(bÝôë@¡Wi®²È¬®éçx¢t§]v×~µßm4êz-Ç)]ßN´Ê®·¶¬µªíë^ÄÊ'Iêu×mwë]öÓN§¢Øx(bÝôëDj»b ¹Ó +êí·vÃ('©×]µß}ÛM:bqãÚéíEç÷²v'²('jT¡ºÛbhÂ{azÇ«½êÌ¢t§]v×~µ÷m4êz-Ç)]ßN´z÷§¶È ©^t(bÚk¡Ç¬²+اÊ'Iêu×mwëm6ÓN§¢Øx(bÝôëD^æ¬yÛazËZ®Ù®µìL¢t§]v×~¶×m4êz-Ç)]ßN´Y¨x¢½¹Ó +êí·vËh{2ÒzuÛ]úÛ]´Ó©è¶' ¥w}:Ð eÂäz»a沯yìbµçL¢t§]v×~¶×m4êz-Ç)]ßN´ ¥vèqë,DZاÊ'Iêu×mwëmvÓN§¢Øxö«z{B)]¦ºzËÆ+^vËqë,~éeÈÊ'Iêu×mwën6ÓN§¢Øx Zr¿ÛN}Z)÷Ù%Mÿ]öÙÊ'~(.çkz˦x'¢¹^«b¢{¢t§]v×~¶ãm4êz-Çz»Þ»¢ÒnnöÓNµçtÜÊ'Iêu×mwën6ÓN§¢Øxö«z{Bæy×!Wi®²ÎyëC('©×]µß¸ÛM:ÁªçnçZ¾Ëçnè¬jZÞiÜ¥¡§^vÉ"¦§Ê'Iêu×mwën6ÓN°j¹æ¡Û¥y«;/jºW¢±©ky§ryÛ$b('©×]µß¸ÛM:bqà¡Wyç)]¦ºzË"²»§)à2ÒzuÛ]úÛ´Ó©è¶' ¥wzÐ*º*ÞvØ^²Ö«¶k{('©×]µß¸ÛM:bqà¡Wy絪íx6çL(®G«¶ÞiÛ¢t§]v×4óm4êz-Çj·§µz+ÞvÈnµÚ0È ©Rëmx£ í ë®÷«2ÒzuÛ]üÓÍ´Ó©è¶' ¥wzÐLbµëÞÛ"v¥yСWi®²È¬zwb('©×]µßÍ=ÛM:bqà¡WyçzW±çm ë-j»fº×±2ÒzuÛ]ü×M´Ó©è¶' ¥wzÑf¢¶)à~öçL(®G«¶ÞiÛ-¡ìb´Ê'Iêu×mwó]6ÓN§¢Øx(bÞyë@% +êí·vÈZ½ç±×2ÒzuÛ]ü×M´Ó©è¶' ¥wzÐ(bÚk¡Ç¬²+Æ+b('©×]µßÍtÛM:bqãÚéí ¥vèqë,{yÛ.qǬ±û¥#('©×]µßÎuÛM:bqà)iÈ^ÿm9õh§ßd7ýwØ0ÿg(ø º·ë.)àæjZ)z¶ì2ÒzuÛ]üç]´Ó©è¶'Iêïz¶î[Iº]»ÛM:×yÓs('©×]µßÎuÛM:bqãÚéí ·µç\)]¦ºzË9óM¢t§]v×9×m4ë«jºWjû/jºW¢±©ky§ryÛ$b('©×]µßÎuÛM:Áªçn殶ì¾y¨vé^Æ¥æÊZuçl*ix¢t§]v×9×m4êz-Ç)]çÍ4 ¥vèqë,Êîx§Ê'Iêu×mwóvÓN§¢Øx(bÞ|Ó@ªè«yÛazËZ®Ù®µìL¢t§]v×9×m4êz-Ç)]çÍ4JÖ«¶)àÛ0¢¹®Øky§l2ÒzuÛ]üç½´Ó©è¶'=ªÞÔ^qè¯yÛ!º×hÂ{"v¥J¶)àv'¶¬z»Þ¬Ê'Iêu×mwóöÓN§¢Øx(bÞ|ÓA1ׯz{l ÚçB)]¦ºzË"±éÝx¢t§]v×9óm4êz-Ç)]çÍ4Eé^jǶ¬µªíë^ÄÊ'Iêu×mwóvÓN§¢Øx(bÞ|ÓEاú+Û0¢¹®Øky§l¶±Ó('©×]µßÎ}ÛM:bqà¡WyóM \(®G«¶ÞiÛ!j÷Æ+^tÊ'Iêu×mwóvÓN§¢Øx(bÞ|Ó@¡Wi®²È¬{x¢t§]v×9÷m4êz-Çj·§´(bÚk¡Ç¬±ìbµçl¹Ç²Çî\
2006年09月12日 星期二 09:32
°Ñmod_python-3.2.10.win32-py2.4-apache2.0.exe ¸Ä³Émod_python- 3.2.8.win32-py2.4-apache2.0.exe On 9/11/06, kongkongxiangbo ¿×Ï鲨 <py.konger在gmail.com> wrote: > > error log? > > ÔÚ06-9-11£¬tan.jincan在zte.com.cn <tan.jincan在zte.com.cn> дµÀ£º > > > > > > ÄÄλÅäÖóɹ¦¹ý£¡°ï°ïÎÒ£¬Ð¡µÜÏÈллÁË¡£ > > > > > > > > > > > > > > ÎÒ×°µÄpythonÊÇ2.4.3£¬×°µÄapacheÊÇ£ºapache_2.0.59-win32-x86-no_ssl.msi > > ×°µÄmod_pythonÊÇ£ºmod_python-3.2.10.win32-py2.4-apache2.0.exe > > > > ÔÚapacheµÄhttp.confÎļþÖмÓÈëÏÂÃ漸Ï > > > > 1.LoadModule python_module modules/mod_python.so > > 2. > >> > AddHandler mod_python .py > > PythonHandler mptest > > PythonDebug On > > > > > > ÍêÁË£¬apache×ÜÆð²»À´£¬ÓÃapache -t²âÊÔÓ﷨ûÎÊÌ⣡ > > Çë½Ìһϣ¬ÈçºÎÅäÖòÅÄÜÆô¶¯apache£¿Ð»Ð»£¡ > > > > > > > > -------------------------------------------------------- > > ZTE Information Security Notice: The information contained in this mail is solely property of the sender's organization. This mail communication is confidential. Recipients named above are obligated to maintain secrecy and are not permitted to disclose the contents of this communication to others. > > This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. Any views expressed in this message are those of the individual sender. > > This message has been scanned for viruses and Spam by ZTE Anti-Spam system. > > > > > > _______________________________________________ > > python-chinese > > Post: send python-chinese在lists.python.cn > > Subscribe: send subscribe to python-chinese-request在lists.python.cn > > Unsubscribe: send unsubscribe to > > python-chinese-request在lists.python.cn > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > -- _______________________________________________ PythonÖÐÎļ¼ÊõÌÖÂÛÓʼþÁÐ±í ·¢ÑÔ: ·¢Óʼþµ½ python-chinese在lists.python.cn ¶©ÔÄ: ·¢ËÍ subscribe µ½ python-chinese-request在lists.python.cn Í˶©: ·¢ËÍ unsubscribe µ½ python-chinese-request在lists.python.cn Ïêϸ˵Ã÷: http://python.cn/mailman/listinfo/python-chinese My webSite: http://www.scweb.cn -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20060912/7a6b4050/attachment-0001.html
2006年09月12日 星期二 10:21
*ÞrÚ+È/Ï®+jabë? á«¢ê í¿×hrÀ¥§!{m:÷]mjxâƧÎ×¢g'µ©ãw;^rªZrTÙ¨vÌ¢t§]uã~4ïm4êz-Ǧ¡Úr¶' ·¶)àòǬ²*'ë^ÅëjÇ¢}&k;k¡Ç¬±ëݹÒf±¶ÞiÛ¢t§]uã~4ïm4êz-Ç¥§!{ý´çÕ¢}¦¡Úr¶'ÿ}µÐüÿÛÜ¢wâêÞv·¬ºh§z+©h¥êÚ¶*'°Ê'Iêu×^7ãNöÓN§¢Øy'«½êÛº)m&évïm4ë^yçMÌ¢t§]uã~4ïm4êz-Çj·§´*Þj×r¥vèqë,ÛM´2Òzu×øÓ½´Ó©è¶'iÊØh*Þjا˲Ȩk{¬m«vô¬i®²Ç¬jwvçIÆØky§l2Òzu×øÓ½´Ó©è¶' ¥wm6Ð(bÚk¡Ç¬²++ºyâ('©×]xß;ÛM:bqà¡WvÓm r«¢çm ë-j»fº×±2Òzu×øÓ½´Ó©è¶' ¥wm6Ñ+Z®Ø§ntÂäz»aæ°Ê'Iêu×^u×6ÓN§¢Øxö«z{QyÇ¢½çlë]£ ì Ú(n¶Ø§Ú0Ø^±êïz³('©×]y×^tÛM:bqà¡WvÓmÆ+^½éí²('jW ¥vèqë,ǧv)à2Òzu×uç]´Ó©è¶' ¥wm6Ñ¥y«vØ^²Ö«¶k{('©×]y×^vÛM:bqà¡WvÓmj+bè¯ntÂäz»aæ²ÚÆ+L¢t§]uç]yÛm4êz-Ç)]ÛM´Yp¢¹®Øky§l «Þ{yÓ('©×]y×^vÛM:bqà¡WvÓm)]¦ºzË"±ìb¶)à2Òzu×uçm´Ó©è¶'=ªÞСWi®²Ç±×²çz˺Yr2Òzu×ݻ۴өè¶' ïöÓV}öIS×}_örß«yÚÞ²é¢ è®f¥¢«jبÃ('©×]}Û½¹ÛM:bqä®÷«n襴¥Û½´Óyç72Òzu×ݻ۴өè¶'=ªÞЫy«^uÈbÚk¡Ç¬³n5èÊ'Iêu×_vïnvÓN°j¹æ¡Û¥yÖ¯²ùæ¡Û¥z+·w)hiײH©¦)à2Òzu×ݻ۴Ӭ®y¨vé^jëaÎËçnè¬jZÞiÜ¥¡§^vÉ"¦§Ê'Iêu×_vïnvÓN§¢Øx(bÝ¸× ¡Wi®²È¬®éçx¢t§]u÷nöçm4êz-Ç)]ÛzÊ®·¶¬µªíë^ÄÊ'Iêu×_vïnvÓN§¢Øx(bݸפj»b ¹Ó +êí·vÃ('©×]}ÛÍ8ÛM:bqãÚéíEç÷²v'²('jT¡ºÛbhÂ{azÇ«½êÌ¢t§]u÷o4ãm4êz-Ç)]Ûzz÷§¶È ©^t(bÚk¡Ç¬²+اÊ'Iêu×_vóNvÓN§¢Øx(bݸפ^æ¬yÛazËZ®Ù®µìL¢t§]u÷o4ëm4êz-Ç)]ÛzY¨x¢½¹Ó +êí·vËh{2Òzu×ݼӴөè¶' ¥wn5è eÂäz»a沯yìbµçL¢t§]u÷o4ëm4êz-Ç)]Ûz ¥vèqë,DZاÊ'Iêu×_vóN¶ÓN§¢Øxö«z{B)]¦ºzËÆ+^vËqë,~éeÈÊ'Iêu×mwë]öÓN§¢Øx Zr¿ÛN}Z)÷Ù%Mÿ]öÙÊ'~(.çkz˦x'¢¹^«b¢{¢t§]v×~µßm4êz-Çz»Þ»¢ÒnnöÓNµçtÜÊ'Iêu×mwë]öÓN§¢Øxö«z{Bæy×!Wi®²ÍôëC('©×]µßwÛM:ÁªçnçZ¾Ëçnè¬jZÞiÜ¥¡§^vÉ"¦§Ê'Iêu×mwë]öÓN°j¹æ¡Û¥y«;/jºW¢±©ky§ryÛ$b('©×]µßwÛM:bqà¡WwÓ)]¦ºzË"²»§)à2ÒzuÛ]ú×}´Ó©è¶' ¥w}:Ð*º*ÞvØ^²Ö«¶k{('©×]µßwÛM:bqà¡WwÓµªíx6çL(®G«¶ÞiÛ¢t§]v×~µ÷m4êz-Çj·§µz+ÞvÈnµÚ0È ©Rëmx£ í ë®÷«2ÒzuÛ]ú×Ý´Ó©è¶' ¥w}:ÐLbµëÞÛ"v¥yСWi®²È¬zwb('©×]µß´ÛM:bqà¡WwÓzW±çm ë-j»fº×±2ÒzuÛ]úÛ]´Ó©è¶' ¥w}:Ñf¢¶)à~öçL(®G«¶ÞiÛ-¡ìb´Ê'Iêu×mwëmvÓN§¢Øx(bÝôë@% +êí·vÈZ½ç±×2ÒzuÛ]úÛ]´Ó©è¶' ¥w}:Ð(bÚk¡Ç¬²+Æ+b('©×]µßµÛM:bqãÚéí ¥vèqë,{yÛ.qǬ±û¥#('©×]µß¸ÛM:bqà)iÈ^ÿm9õh§ßd7ýwØ0ÿg(ø º·ë.)àæjZ)z¶ì2ÒzuÛ]úÛ´Ó©è¶'Iêïz¶î[Iº]»ÛM:×yÓs('©×]µß¸ÛM:bqãÚéí ·µç\)]¦ºzË9ç¢t§]v×~¶ãm4ë«jºWjû/jºW¢±©ky§ryÛ$b('©×]µß¸ÛM:Áªçn殶ì¾y¨vé^Æ¥æÊZuçl*ix¢t§]v×~¶ãm4êz-Ç)]ç´ ¥vèqë,Êîx§Ê'Iêu×mwën6ÓN§¢Øx(bÞyë@ªè«yÛazËZ®Ù®µìL¢t§]v×~¶ãm4êz-Ç)]ç´JÖ«¶)àÛ0¢¹®Øky§l2ÒzuÛ]üÓÍ´Ó©è¶'=ªÞÔ^qè¯yÛ!º×hÂ{"v¥J¶)àv'¶¬z»Þ¬Ê'Iêu×mwóO6ÓN§¢Øx(bÞyëA1ׯz{l ÚçB)]¦ºzË"±éÝx¢t§]v×4÷m4êz-Ç)]ç´Eé^jǶ¬µªíë^ÄÊ'Iêu×mwó]6ÓN§¢Øx(bÞyëEاú+Û0¢¹®Øky§l¶±Ó('©×]µßÍtÛM:bqà¡Wyç \(®G«¶ÞiÛ!j÷Æ+^tÊ'Iêu×mwó]6ÓN§¢Øx(bÞyë@¡Wi®²È¬{x¢t§]v×5Óm4êz-Çj·§´(bÚk¡Ç¬±ìbµçl¹Ç²Çî\¢t§]v×9×m4êz-Ç¥§!{ý´çÕ¢}Tßõß`ÀWý¢wâêÞv·¬ºh§z+©h¥êÚ¶*'°Ê'Iêu×mwóvÓN§¢Øy'«½êÛº)m&évïm4ë^yçMÌ¢t§]v×9×m4êz-Çj·§´*Þj×r¥vèqë,çÍ42ÒzuÛ]üç]´Ó¬®y¨vé^u«ì¾y¨vé^Æ¥æÊZuçl*ix¢t§]v×9×m4ë«jºWºØs²ùæ¡Û¥z+·w)hiײH©¦)à2ÒzuÛ]üç]´Ó©è¶' ¥w4Ð(bÚk¡Ç¬²++ºyâ('©×]µßÎuÛM:bqà¡WyóM r«¢çm ë-j»fº×±2ÒzuÛ]üç]´Ó©è¶' ¥w4Ñ+Z®Ø§ntÂäz»aæ°Ê'Iêu×mwóöÓN§¢Øxö«z{QyÇ¢½çlë]£ ì Ú(n¶Ø§Ú0Ø^±êïz³('©×]µßÎ{ÛM:bqà¡WyóMÆ+^½éí²('jW ¥vèqë,ǧv)à2ÒzuÛ]üçÍ´Ó©è¶' ¥w4Ñ¥y«vØ^²Ö«¶k{('©×]µßÎ}ÛM:bqà¡WyóMj+bè¯ntÂäz»aæ²ÚÆ+L¢t§]v×9÷m4êz-Ç)]çÍ4Yp¢¹®Øky§l «Þ{yÓ('©×]µßÎ}ÛM:bqà¡WyóM)]¦ºzË"±ìb¶)à2ÒzuÛ]üçÝ´Ó©è¶'=ªÞСWi®²Ç±×²çz˺Yr"fjÖjÜ"¶²±éìyùrx"Ø^uªä3#6¨Êæ§Æçµ×Èh¶f¢Ê&3 e¢m¶ÿnzËnv*¹hÇ(g¥r¶©®+ji©Ý¶©®+jih½ê
2006年09月24日 星期日 19:32
charles huang 写道: > 上午搞一个模板,折腾了一上午,发现一个非常奇怪的问题。原本在本机设计好的模板,IE浏览起来都很正常了,可一放到django里面,版面就错位,头都想破了,也没想明白是咋回事。最后,出了一个狠招,把通过django输出的页面,和原来的模板进行二进制比对,才发现,django在每个页面前都添加了ff fe ff fe四个特殊的字符,就是这几个字符导致ie在浏览的时候出现版面错位。可用firefox浏览却正常。django为啥要这么干? > > 致 > 礼! > > > charles huang > hyy at fjii.com > 2006-09-10 > > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese fffe是utf系列编码的特征,如果你的文件最后通过django以utf编码输出,一定会 出现在文件头部的,但是出现了两个fffe就比较奇怪了,你可以调整一下ie的 decoding设置,看看能不能解决这个问题
Zeuux © 2025
京ICP备05028076号