i only want to import the content as text but im getting the binary values, tried something like but its doesnt work:
$data = file_get_contents("input.xps");
theres any lib that i can use?
thank you
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need a tool that can convert .xps files. There is a GhostScript variant called
gxpswhich does exactly that. http://ghostscript.com/GhostXPS.htmlConversion to text would be a two step process with it, but still simple: