Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Does it allow some encoding? I encoded my pod in utf-8 and non-ascii characters are garbled after the conversion. It's a pity, I also have problems with pod2html encoding.

    Radek
    • Could you send me one of your utf-8 encoded Pod files (to jj@jonallen.info) please and I'll have a look into it.
      • You might want to look at all .txt files in: here [cpan.org] as a stress-test for it your stuff (because they're certainly a stress-test for Pod::Simple.)

        BTW, I'm not on intimate terms with PDF internals, but I think you wouldn't be having these problems (at least not quite so, uh, problematically) if you were using Pod::Simple. From day one, I wrote Pod::Simple to understand arbitrary encodings because, you know, it's not 1994 anymore.

        You can look at Pod::Simple::HTML (or just about of the Pod::Simple::* renderers, including RTF, which is another of the Lovecraftian Old Ones from about day two of me writing Pod::Simple) for examples of how to do the deed of writing another renderer based on Pod::Simple. And I'm crossing my fingers the PDF module you're dealing with merrily understands Unicode characters.

        If not, 1) ouch, and 2) do the best you can, "progress not perfection", and "good is the enemy of done". Etc etc.

        And thank you, a huge thank you, for doing what I had been meaning to do for ages but never ever found enough time to even begin to look into presumably considerable backstory for it all. (I did once do a half-rewrite of HTML::FormatPS, and that was SCARY! It was the first and only time I've dealt with an output format where you need to actually go down a page laying out text, and turn to the the next page, etc; instead of just pouring blobs of text into the output format and letting some application deal with it.)