generated pdf page is in iso-8859-1

2005-11-16 Thread Myriam Delperier

hi,
i've got a .fo file like this
?xml version=1.0 encoding=UTF-8?
fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;

/fo:root

I transform it in pdf with fop and myweb browser tells me the encoding 
is iso-8859-1 but for some url links reasons,

I need the file to be in utf-8.

is there something I can do ? 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Compiled FOP versions

2005-11-16 Thread Manuel Strehl

Hi there.

I didn't find any post in the last months concerning my point. If it was 
discussed earlier, I'd like to apologize.


My Problem: My provider doesn't offer a Java VM on the servers. So I'm 
looking for another possibility to run FOP. I found out (at Wikipedia) 
that you can compile Java written programs to machine code (e.g., with 
the Gnu CJ). Well, actually I'm still using Windows and I have no clue 
where to compile it for Linux.


I am looking for:
- already compiled versions of FOP (for Linux; SuSe, I think)
- any tips or hints how I could use FOP on a server without having a 
Java VM.


Does anyone have an idea?

Best Regards
Manuel

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: generated pdf page is in iso-8859-1

2005-11-16 Thread Glen Mazza
What happens when you open the PDF file with Adobe Acrobat directly, and 
not using the browser?  Are you getting the same result opening the PDF 
with both IE and Firefox?


Is this just an annoying message, or is a corrupted/unusable PDF returned?

It very well could be, but I was unaware that the encoding in the source 
FO file somehow makes its way to the PDF document.  If the PDF is being 
returned from a web app, my suspicion is that a wrong response header 
value is being sent to the browser.


Glen

Myriam Delperier wrote:

hi,
i've got a .fo file like this
?xml version=1.0 encoding=UTF-8?
fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;

/fo:root

I transform it in pdf with fop and myweb browser tells me the encoding 
is iso-8859-1 but for some url links reasons,

I need the file to be in utf-8.

is there something I can do ?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Compiled FOP versions

2005-11-16 Thread Jeremias Maerki
You're pretty much out of luck at the moment. It is on my list to make
FOP compile with GCJ/Classpath but so far I've had no time to go after
it. At the moment a JVM is simply required.

What you can try, though, is install a JVM for that machine yourself.
But you have to figure out yourself if you're allowed to do that.

On 16.11.2005 14:29:15 Manuel Strehl wrote:
 Hi there.
 
 I didn't find any post in the last months concerning my point. If it was 
 discussed earlier, I'd like to apologize.
 
 My Problem: My provider doesn't offer a Java VM on the servers. So I'm 
 looking for another possibility to run FOP. I found out (at Wikipedia) 
 that you can compile Java written programs to machine code (e.g., with 
 the Gnu CJ). Well, actually I'm still using Windows and I have no clue 
 where to compile it for Linux.
 
 I am looking for:
 - already compiled versions of FOP (for Linux; SuSe, I think)
 - any tips or hints how I could use FOP on a server without having a 
 Java VM.
 
 Does anyone have an idea?


Jeremias Maerki


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Compiled FOP versions

2005-11-16 Thread Glen Mazza
Without servlets and JSPs, what will your provider allow you use to 
execute programs on the server--ASP, PHP, or cgi?  A pure HTTP server 
will not be able to activate programs, regardless of what you can 
compile FOP into.  Is the provider using IIS or Apache as the web server?


My thinking, along with Jeremias', is that it would be probably best to 
somehow distribute/install the Java VM with your application.  The JVM 
is, after all, already compiled into an executable that the server can 
run.  I can't see the reason why you would not be allowed to run the JVM 
executable but you would be allowed to run another compiled executable 
instead (what you are trying to do to FOP)--they would both be programs 
running on the server.


Glen

Manuel Strehl wrote:

Hi there.

I didn't find any post in the last months concerning my point. If it was 
discussed earlier, I'd like to apologize.


My Problem: My provider doesn't offer a Java VM on the servers. So I'm 
looking for another possibility to run FOP. I found out (at Wikipedia) 
that you can compile Java written programs to machine code (e.g., with 
the Gnu CJ). Well, actually I'm still using Windows and I have no clue 
where to compile it for Linux.


I am looking for:
- already compiled versions of FOP (for Linux; SuSe, I think)
- any tips or hints how I could use FOP on a server without having a 
Java VM.


Does anyone have an idea?

Best Regards
Manuel

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: generated pdf page is in iso-8859-1

2005-11-16 Thread Myriam Delperier

Glen Mazza wrote:
| | What happens when you open the PDF file with Adobe Acrobat
| | directly, and not using the browser?
||Are you getting the same
| | result opening the PDF with both IE and Firefox?

acrobat, ie, firefox give me the same result

my problem was that i've in my fo :
fo:basic-link 
external-destination=resultats-in.html?q=finstitutiontype:|Service 
général|base=institutionfrom1=rechtermsf=ftitle.../fo:basic-link


and the result of the link was
resultats-in.html?q=finstitutiontype:|Service%20g%e9n%e9ral| whereas I'm
waiting for :
resultats-in.html?q=finstitutiontype:|Service%20g%C3%A9n%C3%A9ral|

I can solve my problem with this :
fo:basic-link 
external-destination=http://tourny:8082/mpf/pub-fr/resultats-in.html?q=finstitutiontype:|Service+g%C3%A9n%C3%A9ral|base=institutionfrom1=rechtermsf=ftitleService 
général/fo:basic-link


but I thought I woudn't have to encode this url in the .fo if the pdf 
file was already in utf-8


| | If the
| | PDF is being returned from a web app, my suspicion is that a wrong
| | response header value is being sent to the browser.

mypdf is generated by a cocoon application with a fo2pdf serializer, but 
everything else in the appli is utf-8, that's why I thought the encoding 
pb could be resoved by fop




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: get value of command line arguments

2005-11-16 Thread Roland Neilands
Yes I know the command line is slow, this sounds like another incentive 
to change that.


Thanks,
Roland

Jeremias Maerki wrote:


Hi Roland

No, that parameter to the XSL is not set by the FOP command line. Of
course, it would be no problem to add this. In the latest code it's
possible to specify XSLT parameters. But that version won't be of use to
you right now, since PCL support has not been resurrected, yet. Still,
you're talking about speed but yet you use the command line. That's kind
of a contradiction to me. However, it should be easy for you to add that
XSL parameter to the FOP command line yourself.

On 16.11.2005 03:04:22 Roland Neilands wrote:
 

Does anyone know if it's possible to check the value of FOP command line 
arguments within XSL, specifically the chosen output format?
eg I have one stylesheet which may produce PDF and/or PCL from the same 
XML file depending on local setup.
PCL is mainly for non-PS printers  faxes, so I would like to disable 
colour formatting  switch to bw images when producing these. I could 
do this with an input parameter I know, but that means producing the .fo 
as a separate step, slowing things down.
   




Jeremias Maerki


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]