Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Creating Open Office Doc with Hebrew

by Anonymous Monk
on Sep 18, 2016 at 22:32 UTC ( [id://1172084]=note: print w/replies, xml ) Need Help??


in reply to Re: Creating Open Office Doc with Hebrew
in thread Creating Open Office Doc with Hebrew

:) well I checked it, $header has the stuff, so a quick skim of the docs for "encod" ... arrive at https://metacpan.org/pod/distribution/OpenOffice-OODoc/OODoc.pod#odfDecodeText-ootext

# my $header = "\x{5D1}\x{5E1}\x{5F4}\x{5D3}"; # my $header = odfEncodeText( "\x{5D1}\x{5E1}\x{5F4}\x{5D3}" ); ## fai +l my $header = odfDecodeText( "\x{5D1}\x{5E1}\x{5F4}\x{5D3}" ); ## bingo

This builds a file without complaining too much, but I can't open that file, my old version of openoffice 3.1 says its corrupt

update:

kind of related but you have no sheet to normalize Bug #110420 for OpenOffice-OODoc: suspect OpenOffice::OOdoc bug, please help

also related Bug #117523 for OpenOffice-OODoc: OODoc::XPath::inputTextConversion doesn't handle Perlstrings as input

So one step closer :)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1172084]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2024-03-29 13:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found