• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Not English User: cannot login?

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
New user entered a user name in Russian language (a 6 letters name) in the registration form. Then he cannot login.
I (admin) changed the name to an English name, and he can login.
Looks like only user names in English can pass through Login.

Comments please. If it is a bug (the length of field in the DB is not enough to store encoded non-English names?) can this be fixed in the next release?
Evgeny
[originally posted on jforum.net by Evgeny]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's hard to say exactly. It depends of how is configured your database. If the username field is, say, 20 chars long, and the db server uses "raw" UTF-8 (I mean, using the long notation Java uses, instead of writing only the 6 chars and handling it internally), then much probably you'll have problems.

However, if in fact this is the problem, there should be a remedy, otherwise which logic would be that if you had to design a database for latin languages and other for cyrililc ones?!

As far as I know, JForum as some expressive number of users from Russia, Japan, China and other places where cyrillic chars are used, and, at least they tried JForum just once and never more, the login and all other stuff must work - so that's why I guess there is some issue with the database configuration.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Andowson, which is a JForum contributor too, said it works for him. He also lives in a country which uses cyrillic chars, using postgresql (utf-) as database. If you want tro try its registration form, the url is

http://andowson.no-ip.com/jforum

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This works OK for me with utf-8 database encoding (mysql 4.1).

Gleb
[originally posted on jforum.net by gst]
 
All of life is a contant education - Eleanor Roosevelt. Tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic