Loading ...
Sorry, an error occurred while loading the content.

Re: [prettylst] [barak] Export to PDF error with current Pathfinder from Trunk

Expand Messages
  • joxtur
    What you probably want to do is a regex similar to these: $string =~ s/ x96| x97/-/g; #replace hex of emdash and endash with hyphen $string =~ s/ x91| x92/ /g;
    Message 1 of 15 , Oct 22, 2010
    View Source
    • 0 Attachment
      What you probably want to do is a regex similar to these:

      $string =~ s/\x96|\x97/-/g; #replace hex of emdash and endash with hyphen
      $string =~ s/\x91|\x92/'/g; #replace hex of smart single quote with apostrophe
      $string =~ s/\x93|\x94/"/g; #replace hex of smart quote with quote


      --- In pcgen@yahoogroups.com, Stefan Radermacher <radermacher@...> wrote:
      >
      > On Thursday 21 October 2010 22:43:53 Barak wrote:
      > > Remember our discussion about why I created my own conversion script? I
      > > get lost every time I try and do something in PL. :p
      >
      > I can try to get that into PL if you like.
      >
      > Stefan.
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.