Message76179
| Author |
ocean-city |
| Recipients |
gpolo, kbk, nnorwitz, ocean-city |
| Date |
2008年11月21日.13:40:04 |
| SpamBayes Score |
3.6954722e-07 |
| Marked as misclassified |
No |
| Message-id |
<1227274806.67.0.920598196839.issue1028@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
>You are missing the point on using Tcl_CreateObjCommand, I didn't mean
>to just go and and do s/Tcl_CreateCommand/Tcl_CreateObjCommand/ because
>if you are going to convert everything to unicode then there is no
>point in using Tcl_CreateObjCommand.
I'm not tcl/tk expert, so probably missng many things. :-(
Can you explain how to solve this issue by moving to Tcl_CreateObjCommand?
>Also, Tcl_ObjCmdProc should use Tcl_Obj *CONST objv[] instead of
>Tcl_Obj *const objv[] because Tcl may define CONST as nothing, and it
>uses CONST when defining Tcl_ObjCmdProc.
I created adhok.patch just for explanation. This is not solution. I used
Tcl_CreateObjCommand + Tcl_GetUnicode to demonstrate Tcl converts
'\xc0\x80' to null byte. (adhok.patch contained Japanese characters, so
I'll repost that as just_for_explanation.patch) |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2008年11月21日 13:40:07 | ocean-city | set | recipients:
+ ocean-city, nnorwitz, kbk, gpolo |
| 2008年11月21日 13:40:06 | ocean-city | set | messageid: <1227274806.67.0.920598196839.issue1028@psf.upfronthosting.co.za> |
| 2008年11月21日 13:40:05 | ocean-city | link | issue1028 messages |
| 2008年11月21日 13:40:04 | ocean-city | create |
|