Welcome Visitor, Please Login or Register Now |
|
Sunday, May 11, 2025 08:43 PM |
 |
huutotalo  |
Registered Member |
Posts: 37  |
Joined: 07-27-06 01:10 PM |
|
|
|
 |
|
|
|
 |
|
Website cannot display in Finnish |
Edit Delete Quote |
First Post Posted on: 08-05-11 02:15 AM |
 |
|
|
I have problem of display of my site in Finnish. I follow the instructions in FAQ on this forum. I did not get solution. I deleted the auction.sql and recreated the sql table, still the problem did disappear. So re-instated the same auction.sql I deleted. I asked a php programmer friend for help. He told me that seems to be a problem with cgi program but he cannot help because he does not know PERL. Mr. Ahmed, please help. or I can order 1 hr customization. Is this ok? see the site: www.huutotalo.com |
|
|
|
|
|
 |
 |
huutotalo  |
Registered Member |
Posts: 37  |
Joined: 07-27-06 01:10 PM |
|
|
|
 |
|
|
|
 |
|
Re: Website cannot display in Finnish |
Edit Delete Quote |
Reply #: 2 Posted on: 08-11-11 10:06 AM |
 |
|
|
The access lock message in Finnish shown above has been corrected. Before all "ä" and "ö" were represented by "?". All Finnish characters have become "?" (question mark). This means I have to go in each file to chandge "?" to "ä" or "ö".\
\
I have a text copy of the Finnish language file on my desktop. It is fine no problem. But when I upload to the system, using ASCII transfer time, all the "ä's" and "ö's" become "?".\
\
Admin of Hostgator said that there is a problem with reading UTF-8 data from CGI. Admin recommends that my script should have the below code:\
\
\
require Encode;\
require CGI;\
my $query = CGI ->new;\
my $form_input = {}; \
foreach my $name ( $query ->param ) {\
my @val = $query ->param( $name );\
foreach ( @val ) {\
$_ = Encode::decode_utf8( $_ );\
}\
$name = Encode::decode_utf8( $name );\
if ( scalar @val == 1 ) { \
$form_input ->{$name} = $val[0];\
} else { \
$form_input ->{$name} = @val; # save value as an array ref\
}\
}\
"\
\
\
He also provide the below link:\
http://ahinea.com/en/tech/perl-unicode-struggle.html\
\
I have the below code in the header of my html file:\
\
\
< html lang="fi" > \
< head > \
< meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/ >
\
\
\
So Mewsoft, please confirm and help. |
|
|
|
|
|
 |
mewsoft  |
Administrator Team Member |
Posts: 5381  |
Joined: 05-11-25 08:43 PM |
Location: knxoville, TN, USA |
 |
|
 |
 |
|
|
 |
|
Re: Website cannot display in Finnish |
Edit Delete Quote |
Reply #: 3 Posted on: 08-11-11 01:12 PM |
 |
|
|
Forget what they said because it is not correct, you cannot make your website output in utf-8. You need the correct headers for your own language as I said above and you need your server to support your language code page, if they refuse and your trials failed, you have to switch to another hosting but you need to ask them before you signup with them that they add server support to your language codepage, it is just a simple line that they add in apache configuration file. The second thing that you will need to use in your header is your codepage not utf8: charset=your windows codepage To get the correct header, get Frontpage if you donot have, create a new page in your language, frontpage will create the correct header with codepage, you can use it then in your header class. Rememer also that your browser must have the codepage and your Windows system must have the language support files installed. |
Mewsoft Support www.mewsoft.com
|
|
|
|
|
 |
|
|
Mewsoft and Mewsoft Logos are registered trademarks.
® Corporation. All Rights Reserved.
Copyright -
Privacy -
Terms of Use
| Page Load: 0.2023 Seconds |
|