• Welcome to Simple Machines Community Forum. Please login or sign up.
January 27, 2022, 01:47:00 AM

News:

Wondering if this will always be free?  See why free is better.


custom field bug SMF(B 3 P)

Started by Croco, April 06, 2008, 04:31:13 PM

Previous topic - Next topic

Croco

April 06, 2008, 04:31:13 PM Last Edit: April 19, 2008, 04:45:30 PM by SleePy
SMF Version: 2.0 Beta 3 Public

whenever you try to enter non-english chars as name of the filed it will give you a duplicate entry for the empty string

if you have a filed name that starts with non-english char the col_name will be empty for this field
you can enter it once but after that it will give you error column name not unique

for example:
1-field name: 'تجربة' => col_name => ''
2-field name: 'testتجربة' => col_name => 'test'
3-field name: 'تجربةtest' => col_name => ''

as you can see 1 and 3 cause the problem because col_name is empty string therefore, it won't be a unique entry.

i didn't  add spaces because it doesn't make any difference because they are removed by the code.

I tried Japanese same problem
char-set is UTF-8
I am back. I will try to catch up with some stuff soon.
Regards,
Croco

My sites
Andareena.com
Andareen.net(Under Constraction :P)

New plans coming soon


Good links for you to visit:
Docs
Search

SleePy

April 06, 2008, 05:17:17 PM #1 Last Edit: April 06, 2008, 08:21:25 PM by SleePy
Thank you Bug #1885: Custom Profile Fields do not respect foreign characters
Since mantis won't post the utf-8
First test I did I used: "تجربة"
Second test I used: "تجربةتجربة"
Third test I used: "تجربةتجربةتجربةتجربةتجربة"
Jeremy D — Site Team / SMF Developer
Support the SMF Support team!
Profiles:GitHub
Join us on IRC Libera.chat/#smf

Advertisement: