cforms II User Forum

Registration is currently disabled.
Guest

FAQs

Login form protected by Login LockDown.


Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

    

Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Character problem
April 16, 2007
12:27 pm
James
Guest

Today I found this great plugin, very excited!

But there is a bug ( Maybe it is a bug, I am not sure) to me, when I submit the form using Chinese characters, and all the text are ???? , and I start to take a look at the code, and found in cforms.php , if we comment out this line, everything will go just fine. Thought maybe someone like me want to know this.:

//$value = mb_convert_encoding(utf8_decode($params ['field_' . $i]), get_option('blog_charset'));   // convert back and forth to support also other than UTF8 charsets

 

Thanks for your work.

 

 

James 

April 16, 2007
9:36 pm
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

James,

If your blog runs UTF8, you may want to try this: Item 1 in the FAQs

The line/code in question was introduced to support non UTF8 blogs, going forward I'll include some logic in the plugin that'll detect if UTF8 is present since this seems to be an issue for some UTF deployments.

Thanks for the feedback! 

 

April 17, 2007
3:05 pm
James
Guest

Hi!

Thanks a lot for your prompt reply.

 

 

James 

Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
17 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

tracedef: 43

mores: 21

Gyrus: 20

frozenwaste: 18

asuffredini: 15

photoworks: 14

Member Stats:

Guest Posters: 3758

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5356

Posts: 18736

Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass

Moderators: Paul (421), cnymike (8), sonika (95)

Administrators: Oliver (6400), Nicky (3)