[riscosweb] Re: Browsers not responding to charset=ISO-8859-2

  • From: VinceH <vince@xxxxxxxxxx>
  • To: riscosweb@xxxxxxxxxxxxx
  • Date: Tue, 14 Nov 2006 19:45:14 +0000

On 14 Nov 2006, Russell Hafter - Lists wrote:

> I have uploaded .htaccess files to other websites, but they are
> invisible to !FTPc (and, I believe, to a number, if not most,
> other FTP software).

Someone's said how to do it with FTPc. Most other (decent) FTP
software will either offer a similar method, or provide a
selection box for this sort of thing.
 
However, if you maintain a local copy of your site, then the
.htaccess files should remain perfectly visible there - modify the
appropriate one and upload it.

> This would also mean creatting a special directory just for
> those files with ISO-8859-2 charsets, which is not particularly
> logical.

It's a long time since I've even touched a .htaccess file, so I
can't remember how - but I'm pretty sure you can also do it by
extension, which means you can use a slightly different file
extension for those particular files. (Or you can do it for
specific files).

To use (say) .htm2 for your ISO-8859-2 charset files, I think
probably something along the lines of:

AddType 'text/html; charset=ISO-8859-2' htm2

But I'd advise doing a spot of searching to check on that, rather
than just blindly follow my vague recollections.

-- 
VinceH

Other related posts: