--- JC Coez <[EMAIL PROTECTED]> wrote:

> ----- Original Message ----- 
> From: "Oleg Kobchenko" <[EMAIL PROTECTED]>
> 
> OK I'll do that to-morrow :
> > This may really be a problem with JAL.
> >
> > Try to stop IIS, rename the jhp folder to jhp1,
> > in J run Package Manager and do Tools|Rebuild...
> > Check the manifest.ijs in the new jhp folder.
> > You should have examples/htD.jhp.
> >
> > Start IIS. And try again.
> >
> > Please give more details on "it doesn't work".
> 
>  I mean that (for instance ) the <%= 6!:0 '' %> is not executed as soon as I 
> have letters with accent in that html file.
> The rest of that html is correctly displayed by IE7 or Firefox.
> 
> > And your files working fine--Unicode files?
> 
> I use Notepad++ to edit the jhp files and I didn't care until now if they 
> were unicode or not.

The file format should be UTF-8 without the BOM.
Two-byte Unicode or BOMed files won't work.
Such files can be produced with the regular J script
editor.

To check for BOM,
   load'files'
   a.i.2{.fread jpath '~addons/web/jhp/examples/htD.jhp'
60 37

The first two bytes should be '<%'.

> I'll reinstall the jhp to morrow.
> As I said in the previous post, I confirm that I used the package manager to 
> install jhp about 2 weeks ago and today
>  >> NB: the manifest file
> >> http://www.jsoftware.com/svn/addons/trunk/web/jhp/manifest.ijs  indicates
> >> that this is  VERSION=: '0.1.14'  and in the package manager it is 
> >> 0.1.10.
> >> and it is uptodate.
> 
> Is the only difference in the 2 versions is the UTF sample ? 

Yes and utf-8 output in viewsrc.jhp example.



       
____________________________________________________________________________________Give
 spam the boot. Take control with tough spam protection in the all-new Yahoo! 
Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_html.html 
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to