On 15/08/06, David A. Desrosiers <[EMAIL PROTECTED]> wrote:
On Tue, 2006-08-15 at 09:25 +0300, Adrian Maier wrote:
> The question is:  does plucker-build have some option that could solve
> the problem ?  Or i'll have to remove those strings from the original
> html files (and replace them with something like &nbsp;)  before
> building the pdbs ?

&x00A0 is the double-byte (UTF-16) non-breaking space character. Have
you tried a sample page with the single-byte version? (&#160;)

Alternately, you can just change them all out with a single perl
one-liner if you want:

find . -type f -name '*html' -exec perl -pi.$$ -e 's,&x00A0,&nbsp,g'
'{}' \;

or:

perl -pi.$$ -e 's,&x00A0,&nbsp,g' `find . -type f -name '*html'`

So, fixing the files is the way to go. I'll try to convert all files with the
one-liner you suggest.

Thanks David !

Adrian Maier
_______________________________________________
plucker-list mailing list
[email protected]
http://lists.rubberchicken.org/mailman/listinfo/plucker-list

Reply via email to