Thanks, but no joy.  FWIW both Kraft and Satchmo's version come preset
to UTF-8 (and in my clutching at straws I've tried utf8, utf-8, and
UTF8 also)  I know there are a lot of copies/sources out there, I'll
try to sort through tomorrow.  I think I saw one at Zope which I'd
assume is promising...

Kevin

On 16 Mar, 20:29, Chris Moffitt <[email protected]> wrote:
> There's one here 
> -http://github.com/roadhead/trml2pdf/blob/master/trml2pdf/trml2pdf.py
>
> I notice that at the top of the file, it says to change the encoding to
> utf-8
>
> You might want to give that a shot in the version you have and see if that
> helps.
>
> -Chris
>
>
>
> On Tue, Mar 16, 2010 at 2:51 PM, Caomhin <[email protected]> wrote:
> > Well as an update, same problem, same trml2pdf it seems in fact;
> > running a diff against the directories installed in site-packages
> > suggests they're indentical.  Which begs the question is there a
> > better version lurking somewhere?  Or possibly the question is more,
> > who installed what and does it work as I hope?
>
> > Kevin
>
> > On 16 Mar, 19:36, Caomhin <[email protected]> wrote:
> > > The version I have came from Kraft on SourceForge:
> >http://kraft.sourceforge.net/index.php?lang=en-I shall try the one
> > > from the Satchmo site instead I guess.
>
> > > Kevin
>
> > > On 16 Mar, 18:23, Chris Moffitt <[email protected]> wrote:
>
> > > > Can you confirm how you installed trml2pdf? I believe there is a
> > version out
> > > > there that handles utf-8 better than others.
>
> > > > -Chris
>
> > > > On Tue, Mar 16, 2010 at 10:29 AM, Caomhin <[email protected]> wrote:
> > > > > I know a few folks have done this in the past so I thought I'd see
> > > > > where it's going wrong.
>
> > > > > Using a default set-up I got £9.99 in my invoices.  I changed the
> > > > > rml templates to declare UTF-8 encoding and now I get £9.99.
>
> > > > > I also have "encoding = 'UTF-8'" in trml2pdf.py
>
> > > > > The database also uses utf8 for the whole stack.
>
> > > > > If anyone has any suggestions of things to try I'm all ears, because
> > > > > I'm running out of ideas on whereelse I may need to change anything.
> > > > > The rest of the site copes fine, just the invoice so logically it's
> > > > > something to do with the PDF creation but although changing the
> > > > > encoding removed some of the cruft it hasn't fixed it completely.
>
> > > > > Cheers,
> > > > > Kevin
>
> > > > > --
> > > > > You received this message because you are subscribed to the Google
> > Groups
> > > > > "Satchmo users" group.
> > > > > To post to this group, send email to [email protected].
> > > > > To unsubscribe from this group, send email to
> > > > > [email protected]<satchmo-users%2bunsubscr...@goog­legroups.com>
> > <satchmo-users%2bunsubscr...@goog­­legroups.com>
> > > > > .
> > > > > For more options, visit this group at
> > > > >http://groups.google.com/group/satchmo-users?hl=en.-Hidequoted text
> > -
>
> > > > - Show quoted text -- Hide quoted text -
>
> > > - Show quoted text -
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Satchmo users" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<satchmo-users%2bunsubscr...@goog­legroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/satchmo-users?hl=en.- Hide quoted text -
>
> - Show quoted text -

-- 
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en.

Reply via email to