coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: led on July 13, 2006, 04:38:28 PM

Title: anycontent.php æ ø å
Post by: led on July 13, 2006, 04:38:28 PM
Hi

When I write æ ø å (some danish letters) in my text in anycontent.php, it shows some strange things on index.php.

How can that be solved?
Title: Re: anycontent.php æ ø å
Post by: Nibbler on July 13, 2006, 05:11:45 PM
Save the anycontent file using the same character set you use for your gallery.
Title: Re: anycontent.php æ ø å
Post by: led on July 13, 2006, 05:23:58 PM
hmmm. As far as I know, I haven´t saved my gallery in some kind of special way.

Character set, how do I "set that"
Title: Re: anycontent.php æ ø å
Post by: Nibbler on July 13, 2006, 05:40:01 PM
Post a link to your gallery and tell us what you are using to edit anycontent. Maybe someone else has the same app and knows how to use it.
Title: Re: anycontent.php æ ø å
Post by: led on July 13, 2006, 05:43:42 PM
My gallery: http://www.larsemil.dk

I use WordPad to edit anycontent.php
Title: Re: anycontent.php æ ø å
Post by: Nibbler on July 13, 2006, 05:52:53 PM
You need to save the file in UTF-8 format. I don't know if WordPad can do that, if not you'll need to find a decent text editor.
Title: Re: anycontent.php æ ø å
Post by: led on July 13, 2006, 05:58:09 PM
ok.
I just opened anycontent.php in notepad. In notepad I could save as UTF-8, and now it´s possoble to read æ ø å on my website.
Thanks alot  :)