Jump to content
TNG Community
louis42

French characters

Recommended Posts

louis42

 

Hello,

I have problems with displaying characters in French only with the customconfig menu. The other menus are OK.

I reloaded the french-UTF8 folder without success.

tng 12.02 Template 17

Share this post


Link to post
Share on other sites
theKiwi

Is your customconfig.php set as the same collation as your website is - e.g. UTF8 (no BOM) if your website is running at UTF-8?

Roger

Share this post


Link to post
Share on other sites
louis42
my base is in utf8_general_ci, but how to check a file?

Share this post


Link to post
Share on other sites
XerxX

If you add your labels as literal text like

$custommenulinks[$link_nr]['label_text'] = "Submit Family"; // literal text

you can try to add them as indexes instead, like

$custommenulinks[$link_nr]['label_index'] = "subfam"; // text from $text['subfam'];

and then in cust_text.php:

$text['subfam'] = "Submit Family";

 

HTH

Erik

Share this post


Link to post
Share on other sites
theKiwi
2 hours ago, louis42 said:

my base is in utf8_general_ci, but how to check a file?

Depends if you're using a Macintosh or Windows machine - you can use the free BBEdit on a Macintosh to see what the collation of the file is. On Windows Notepad++ will show you the collation.

Roger 

Share this post


Link to post
Share on other sites
louis42

 

Thanks for the answers. Indeed, the encoding was not good. I corrected with notepad ++.

I had first to name the label as an index without success. All is OK now

Jean-Louis

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×