French charset?
#1
Posted 03 September 2011, 18:11
eg Bonjour invité! Désirez-vous vous identifier ou créer un compte?
I saved the file as UTF8.
Any ideas on what I have to change?
#2
Posted 03 September 2011, 18:50
403 Forbidden You are not allowed to access this page. Possible problems: [*]Missing index file [*]Misconfigured mod_rewrite settings in .htaccess [*]Authentication Failure [*]Incorrect file or folder permissions
#3
Posted 04 September 2011, 00:23
If you think you have it specifying UTF-8, see what the page claims the encoding is. If it says UTF-8, do any other UTF-8 pages come through OK? Some servers are set to override encodings and use only Latin-1.
If your page is UTF-8 encoding, I take it that your database is also UTF-8? Exactly what version of osC are you running?
#4
Posted 04 September 2011, 07:49
In order to make all accents show correctly on your website you have to use " Bonjour invitée" et non "Bonjour invitée". You just have to replace all words containing "é" in you french.php file and others with "é". It's the only way it'll work correctly on your website.
Hope that helps
#5
Posted 04 September 2011, 09:22
Jan Zonjee, on 03 September 2011, 18:50, said:
403 Forbidden You are not allowed to access this page. Possible problems: [*]Missing index file [*]Misconfigured mod_rewrite settings in .htaccess [*]Authentication Failure [*]Incorrect file or folder permissions
hat's because only I can access it from my IP at present preventing the site from being live.
#6
Posted 04 September 2011, 09:24
MrPhil, on 04 September 2011, 00:23, said:
If you think you have it specifying UTF-8, see what the page claims the encoding is. If it says UTF-8, do any other UTF-8 pages come through OK? Some servers are set to override encodings and use only Latin-1.
If your page is UTF-8 encoding, I take it that your database is also UTF-8? Exactly what version of osC are you running?
simply copied english.php and renamed it french.php but when I edited it, I made sure it saved at UTF8.I am ru
nning 2.2 RC1The char
acter encoding of FF says Western 8859. As soon as I change it to UTF8 it works correctly but how do I make the page run as UTF8?
#7
Posted 04 September 2011, 09:48
All in all it looks like the easiest solution in this case is to save your french.php as iso-8859-1 and forget about UTF-8.
#8
Posted 04 September 2011, 10:23
Can I delete the english.php and english folder and simply have francais.php and francais folder only? This site does not need other languages.
Also, there seems to be a 2nd english.php file in /cart/includes - does that need to be changed also? It seems strange to have 2 of them when everything could be put into one language file.
#9
Posted 04 September 2011, 10:50
Any ideas why?
It says the document has characters that are not compatible. It cuts the text off at the first \
<?php
/*
$Id: $
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright (c) 2007 osCommerce
Released under the GNU General Public License
*/
define('TEXT_MAIN', '
<hr>
<b style="color: rgb(7,75,138);">
Proxyplayer vous offre l\’accès à des serveurs proxy et réseau privé virtuel (VPN) pour une grande variété d’utilisations telles que :<br />
<br />
- accès sécurisé<br />
- navigation sur internet<br />
- navigation anonyme<br />
- visualisation de vidéos<br />
#10
Posted 04 September 2011, 11:18
Edit: it keeps chagning them to html chars
<?php
/*
$Id: $
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright (c) 2007 osCommerce
Released under the GNU General Public License
*/
define('TEXT_MAIN', '
<hr>
<b style="color: rgb(7,75,138);">
Proxy vous offre l\’accès à des serveurs proxy et réseau privé virtuel (VPN) pour une grande variété d’utilisations telles que :<br />
<br />
- accès sécurisé<br />
- navigation sur internet<br />
- navigation anonyme<br />
- visualisation de vidéos<br />
- etc.<br />
<br />
Edited by qwertyjjj, 04 September 2011, 11:19.
#11
Posted 04 September 2011, 13:14
If you want to delete the english files you also need to remove the English language in your admin.
#12
Posted 04 September 2011, 13:48
Jan Zonjee, on 04 September 2011, 13:14, said:
If you want to delete the english files you also need to remove the English language in your admin.
I have made quite a few customisations so I thought it wouldn't take that long just to change all the files in the language folder and go from there.
I get this error:
iconv --from-code=UTF-8 --to-code=ISO-8859-1 english2.php > newfile.php
iconv: illegal input sequence at position 266
j@j-Inspiron-9300:~/Desktop/PP$
Edited by qwertyjjj, 04 September 2011, 13:51.
#14
Posted 04 September 2011, 14:28
Jan Zonjee, on 04 September 2011, 13:52, said:
errors at the slash for some reason?
<?php
/*
$Id: $
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright © 2007 osCommerce
Released under the GNU General Public License
*/
define('TEXT_MAIN', '
<hr>
<b style="color: rgb(7,75,138);">
Proxy vous offre l\
iconv: illegal input sequence at position 266
Edited by qwertyjjj, 04 September 2011, 14:28.
#16
Posted 04 September 2011, 15:20
#17
Posted 15 September 2011, 09:25
I have changed header.php to use utf8 but some db characters still show oddly. I need to use mysql_set_charset somewhere
#18
Posted 15 September 2011, 11:25
#19
Posted 16 September 2011, 01:50
#20
Posted 16 September 2011, 09:04
Page and browser think it is UTF 8.
When I change it to WEstern ISO, it displays the characters correctly but inthe database they are saved with accents.
The categories.php page where I save the catalog entries is displayed in Wester-ISO for some reason. How do I change that?
Edited by qwertyjjj, 16 September 2011, 09:06.














