Hi Joerg,
Thanks a lot for your answer, it is more clear now.
Concerning the patch, it seems it uses the same kind of conversion I
proposed through UTF8. I think the sal/rtl routine concerning UCS4
conversion is indeed broken.
With the original code that I think was correct, the string inserted in
OOo where in UCS4 format as if the conversion did not work.
For instance when I inserted a python string like 
u'test'
I got in OOo
t\00\00\00e\00\00\00s\00\00\00t\00\00\00
which really looks like a non-converted UCS4 string

Again, I'm unfortunately not good enough to debug the C++ code with gdb
to understand where the problem is.

Pierre


Le samedi 05 f�vrier 2005 � 22:43 +0100, Joerg Budischewski a �crit :
> Hi,
> 
> >>But in general you can't make a binary debian python package run with a 
> >>binary OpenOffice downloaded from somewhere else. Even if you can work 
> >>around the the above issue as described, it may not work, because python 
> >>and OOo were built with incompatible compiler versions (currently, this 
> >>does not seem to be the case but may and will occur in not so distant 
> >>future).
> > 
> > 
> > What I don't understand is that I compiled the python-uno bridge and the
> > needed dependent modules on my Debian system. [...]
>  > The stock pyuno does not work however in that case
> > on my system when I follow the instructions given in the python-uno
> > bridge faq to compile the bridge except if I do the previously cited
> > modifications.
> you are right, ucs4 support is broken in the current code. Caolan 
> provided a patch with some more fixes (
> 
> see
> http://qa.openoffice.org/issues/show_bug.cgi?id=41994
> 
> )
> 
> Bye,
> 
> Joerg
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
-- 
Pierre MARTINEAU
CNRS UMR5160
CRLC Val d'Aurelle-Paul Lamarque
Batiment de Recherche
Parc Euromedecine
35 rue de la croix verte
34298 Montpellier
France

Tel: +33 (0)4 67 61 37 43
Fax: +33 (0)4 67 61 37 87
E-mail: [EMAIL PROTECTED]

********************************************************************
** Please AVOID sending me WORD, EXCEL or POWERPOINT attachments. **
** See http://www.fsf.org/philosophy/no-word-attachments.html     **
********************************************************************







---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to