Python论坛  - 讨论区

标题:Re: RE: [python-chinese] Python 新手几个问题。

2004年03月12日 星期五 10:46

zhao bear_sh at eastday.com
Fri Mar 12 10:46:18 HKT 2004

Who Bruce,您好!

	同感!!

======= 2004-03-12 10:23:50 您在来信中写道:=======

>我用过unicode版的wxPython,如果中文不编码为Unicode,则显示出来的都是乱码。还
>是非unicode版的比较好用。
>
>>From: "Zoom.Quiet" <zoomq at infopro.cn>
>>Reply-To: "Zoom.Quiet" <zoomq at itcase.com>, zoomq at infopro.cn, 
>,python-chinese at lists.python.cn
>>To: python-chinese at lists.python.cn
>>Subject: Re[4]: [python-chinese] Python 新手几个问题。
>>Date: Fri, 12 Mar 2004 08:28:50 +0800
>>
>>Hello John,
>>
>>sorry 在下只有理论,没有具体实践过,
>>
>>不过从使用过的几种Python 开发的编辑工具来看,
>>编辑容器一定要是utf-8 的才容易兼容中文的,
>>paste 不回去,就因为容器不识别吧!
>>
>>=== [ 1:00 ; 04-03-12 ] you wrote:
>>
>>JL> 请问,你使用unicode吗?我的经验是,用unicode的wxPython,
>>JL> paste中文不对。你有什么经验?
>>
>> >> 如果使用 wxPython则 Clipboard 操作类似:
>> >> """
>> >> def OnPaste(self, event):
>> >>         do = wxTextDataObject()
>> >>         wxTheClipboard.Open()
>> >>         success = wxTheClipboard.GetData(do)
>> >>         wxTheClipboard.Close()
>> >>         if success:
>> >>             pastedLines = LineSplitter(do.GetText())
>> >>         else:
>> >>             wxBell()
>> >>             return
>> >>         if len(pastedLines) == 0:
>> >>             wxBell()
>> >>             return
>> >>         elif len(pastedLines) == 1:
>> >>             self.SingleLineInsert(pastedLines[0])
>> >>         else:
>> >>             self.MultipleLinePaste(pastedLines)
>> >> """
>> >>
>>
>>JL> _______________________________________________
>>JL> python-chinese list
>>JL> python-chinese at lists.python.cn
>>JL> http://python.cn/mailman/listinfo/python-chinese
>>
>>=== === === === === === === === === ===
>>
>>--
>>Best regards,
>>  Zoom.Quiet
>>
>>  /=======================================\
>>]Time is unimportant, only life important![
>>  \=======================================/
>>
>>_______________________________________________
>>python-chinese list
>>python-chinese at lists.python.cn
>>http://python.cn/mailman/listinfo/python-chinese
>
>_________________________________________________________________
>享用世界上最大的电子邮件系统― MSN Hotmail。  http://www.hotmail.com  
>
>_______________________________________________
>python-chinese list
>python-chinese at lists.python.cn
>http://python.cn/mailman/listinfo/python-chinese

= = = = = = = = = = = = = = = = = = = =
			

        致
礼!
 
				 
        zhao
        bear_sh at eastday.com
          2004-03-12

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fox.gif
Type: image/gif
Size: 9519 bytes
Desc: not available
Url : http://lists.exoweb.net/pipermail/python-chinese/attachments/20040312/3f67075b/fox.gif

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

如下红色区域有误,请重新填写。

    你的回复:

    请 登录 后回复。还没有在Zeuux哲思注册吗?现在 注册 !

    Zeuux © 2024

    京ICP备05028076号