nBill Community nBill Home Page
21/May/2012, 11:25:12 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Click Here for the nBill home page, or take a tour.  
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Character encoding on client profile update  (Read 1175 times)
mix
Jr. Member
**
Offline Offline

Posts: 13


View Profile
« on: 22/March/2010, 12:39:54 AM »

Welcome
Although some time has passed, unfortunately, a problem with the encoding did not improve. Moreover, this situation also occurs in the J! 1.5.15 UTF-8.

The problem concerns the form data ... action = profile & task = update. Now a few tips on how it looks on me:
what should appear as follows: ĄąĆćĘꣳ ?  ŃńŹźŻż
is what is displayed after loading: HuhHuh?? ?  HuhHuh
So the Polish letters only occurs  ?  
Logged
netshine
Administrator
Hero Member
*****
Offline Offline

Posts: 4,563


View Profile
« Reply #1 on: 22/March/2010, 09:23:27 AM »

This is a completely separate issue from the one you replied to, so I have split your post out into its own thread.

So are you saying that when using Joomla 1.5, the character encoding is fine everywhere except when a client updates their profile?
Logged
mix
Jr. Member
**
Offline Offline

Posts: 13


View Profile
« Reply #2 on: 22/March/2010, 09:41:23 AM »

Specifically, what I'm typing in text fields of the form correctly in the database record only letters  ?  .

Amendment ... Not in the database because it saves correctly but as a value to edit in the field <input ... shows up in this manner
« Last Edit: 22/March/2010, 10:31:09 AM by mix » Logged
netshine
Administrator
Hero Member
*****
Offline Offline

Posts: 4,563


View Profile
« Reply #3 on: 22/March/2010, 02:23:45 PM »

Is it only on the client profile page that this is a problem?
Logged
mix
Jr. Member
**
Offline Offline

Posts: 13


View Profile
« Reply #4 on: 22/March/2010, 05:39:40 PM »

This concerns the whole component - any value are reading from the database. So, for example, is:

Code:
<input name="name" id="contact_name" value="Miros?aw" class="inputbox" style="width: 160px;" onchange="form_dirty=true;" type="text">

and should be:

Code:
<input name="name" id="contact_name" value="Mirosław" class="inputbox" style="width: 160px;" onchange="form_dirty=true;" type="text">

Logged
netshine
Administrator
Hero Member
*****
Offline Offline

Posts: 4,563


View Profile
« Reply #5 on: 22/March/2010, 06:00:19 PM »

Works ok for me. Are your database tables set to use collation utf8_general_ci? (They should be by default on Joomla 1.5). Are you using the Polish UTF-8 language pack? If so, do the diacritics show up ok for the component help text?
Logged
mix
Jr. Member
**
Offline Offline

Posts: 13


View Profile
« Reply #6 on: 22/March/2010, 06:31:20 PM »

Quote
Are your database tables set to use collation utf8_general_ci?
Yes, the tables use the utf8_general_ci collation

Quote
Are you using the Polish UTF-8 language pack? If so, do the diacritics show up ok for the component help text?
Yes, I use the Polish language files UTF-8 - the content displays correctly

Logged
netshine
Administrator
Hero Member
*****
Offline Offline

Posts: 4,563


View Profile
« Reply #7 on: 22/March/2010, 08:25:12 PM »

Ok I think you had better submit a support ticket as I will need access to your site to look into it.
Logged
mix
Jr. Member
**
Offline Offline

Posts: 13


View Profile
« Reply #8 on: 22/March/2010, 11:19:07 PM »

Unfortunately I can not share a server. I write what I noticed while. Well, the installation makes the assumption nBill database tables encoded in latin1_swedish_ci and not as it should be in utf8_general_ci, although other components make up the tables correctly. I'm not sure whether this is just a server problem because I installed this component on another server account with similar results ...
I think that it was necessary to rewrite a bit installer. Maybe should first copy the files and then let them intelligently check what encoding is used on this site and create the tables.

The problem has been resolved, thanks for your help.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!