Webmastersite.net
Register Log In

Problem with accents
Problem with accents

Comments on Problem with accents

milouchouchou
Forum Regular

Usergroup: Customer
Joined: Nov 05, 2006
Location: Borlo Belgique

Total Topics: 27
Total Comments: 121
Problem with accents
Posted Dec 04, 2011 - 10:49 AM:

Hello Paul

I have a problem with accents in two places in the script.

1 - Adding a second category in the addition or modification of a link
2 - Quick search of title of a link and also in the advanced search. All research has the problem of accents.

View all 4 screenshots

Thank you in advance.
Cordially.


Attached Files:
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Dec 06, 2011 - 6:42 AM:

This is probably because you've got an english-only installation. Is there a reason you didn't do multilingual?
milouchouchou
Forum Regular

Usergroup: Customer
Joined: Nov 05, 2006
Location: Borlo Belgique

Total Topics: 27
Total Comments: 121
Posted Dec 06, 2011 - 7:21 AM:

I installed in English and I translatedt he file default.lng into French, I did not need the English version because my site is in French only. All templates are also translated into French.

What is strange is that the other parties operate without error with accents.

The problem is only in the 2nd column of the selection of a secondary category, the main category will be displayed normally.

All the research also have this problem, the collation of the database is so original utf8_unicode_ci


Attached Files:
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Dec 06, 2011 - 1:51 PM:

I tested an english-only site and didn't have the accents problem on autocomplete, so that wasn't the issue. Maybe the database tables aren't utf-8 and require conversion, but there should be a notice saying so if that were the case. Checking.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Dec 06, 2011 - 3:32 PM:

It looks like the accented characters fail whenever the charset header isn't set. It was set in end.php, but some files like the autocomplete don't use end.php, so I've moved it to includes/prestart.php. Is everything correct now?
milouchouchou
Forum Regular

Usergroup: Customer
Joined: Nov 05, 2006
Location: Borlo Belgique

Total Topics: 27
Total Comments: 121
Posted Dec 07, 2011 - 1:58 AM:

Paul Yes, everything is perfect now with this file you uploaded.

A big thank you for your help and your work.

Cordially.

Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.