×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: problems with charater display

problems with charater display 16 years 2 months ago #755

  • hassoon
  • hassoon's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
hi can you guide us on how you managed to fix this issue, I have the same problem

problems with charater display 16 years 2 months ago #870

  • jShadow
  • jShadow's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
I have the same problem.
The charset in mysql (in phpmyadmin) are displayed correctly.
They also displayed correctly in admin comment edit mode.
but not in admin comment display or on web page.

my charset is utf8_general_ci.

problems with charater display 16 years 2 months ago #873

  • hassoon
  • hassoon's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
I think Ive found a solution for this.
goto phpmyadmin
then look through the charset of the needed tables make sure that they are switched to utf8, the .sql file that comes with the component is not a utf8 sql insertion.

problems with charater display 16 years 2 months ago #885

  • jShadow
  • jShadow's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
All the tables are utf8_general_ci like I said above. And the characters are displayed correctly in phpmyadmin.
I think it must be in a script but still can't find it.

And now when I try to lookup comments in administration screen the server crashes (on my testing server).
I use joomla 1.5.3 php 5.1.4 mysql 5.0.22

I still get funny characters in my production server.
There are many different utf-8 charset. I tried utf8_unicode_ci , Which would be best?

I've disabled the AJAX support , and not include javascript library nothing changes. (the comment settings still work)

I've written a short test script using php to fetch data from jos_comment and display on screen. The words are all perfect no funny characters at all. So it must be in the script somewhere. Probably java script.

I've been looking and testing in components>>com_comment nothing changes.

Can anyone tell what to do?

problems with charater display 16 years 2 months ago #893

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Per default joomla 1.5 uses utf8_general_ci.
Which version of joomla are you using?

problems with charater display 16 years 2 months ago #918

  • jShadow
  • jShadow's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0

I use joomla 1.5.3 php 5.1.4 mysql 5.0.22

I also use legacy 1.0 because I am using a mambo template

problems with charater display 16 years 2 months ago #920

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
what is the chosen charset in joomlacomment?

problems with charater display 16 years 2 months ago #925

  • jShadow
  • jShadow's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0

I have the same problem.
The charset in mysql (in phpmyadmin) are displayed correctly.
They also displayed correctly in admin comment edit mode.
but not in admin comment display or on web page.

my charset is utf8_general_ci.

problems with charater display 16 years 2 months ago #964

  • jShadow
  • jShadow's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
Anyone can answer?

problems with charater display 16 years 2 months ago #990

  • jShadow
  • jShadow's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
Hello Mr Daniel Dimitrov .

problems with charater display 16 years 1 month ago #1047

  • rxdani
  • rxdani's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 8
The same problem with polish characters in comments.

Whole joomla site charset is utf-8
MySQL on utf also
Joomlacomment charset utf-8

The site and all components shows right polish characters but joomlacomment not.

problems with charater display 16 years 1 month ago #1053

  • rxdani
  • rxdani's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 8
Problem Solved!

In mysql joomlacomment tables latin1_swedish_ci was set as a 'character comparision method'. The setting was present just after installing a component so it's strange. By reading forum I know situation with latin1_swedish_ci is common. But why?

I replaced every instance of latin1_swedish_ci by utf_general_ci and it's OK.

problems with charater display 16 years 1 month ago #1070

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Is this helping everyone?

problems with charater display 16 years 1 month ago #1164

  • jShadow
  • jShadow's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
rxdani wrote:

Problem Solved!

I replaced every instance of latin1_swedish_ci by utf_general_ci and it's OK.


My character set was already utf8_general_ci in the first place

problems with charater display 16 years 1 month ago #1170

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
jshadow can you make a test for me. Go to the backend the security->overflow

and change the values there to something big.
for example for line length -1 and so on.
Are there any changes to the output or is still the problem there?

problems with charater display 16 years 1 month ago #1199

  • jShadow
  • jShadow's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
OK that worked!!!
Thanks Daniel.

I tried a few combination of settings. Only by setting

Line max length: -1
Word max length: -1

will it work.

As with Post max length:
I had to increase it to 2000 from 1000 originally.

Thanks again

problems with charater display 16 years 1 month ago #1201

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
JShadow you don't have anymore the character encoding problem?

problems with charater display 16 years 1 month ago #1282

  • jShadow
  • jShadow's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
No, it is correct now.

problems with charater display 16 years 1 month ago #1284

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Ok, then we know where the problem is coming from.
I will have a look on the functions that are making the lines.

problems with charater display 16 years 2 days ago #1630

  • Pinki
  • Pinki's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 0
I use utf8_general_ci and I have ??? in comments on the site.
But to the mail i have normal messages with right coding.

I try

and change the values there to something big.
for example for line length -1 and so on.

not work.

You may see it on my site
  • Page:
  • 1
  • 2
Time to create page: 0.148 seconds