Main Stories
Slash Boxes

Slash Open Source Project

Slashcode Log In

Log In

[ Create a new account ]

Article Poll

Poll I found this article to be
Very Helpful
Helpful
Not Helpful
Not Very Helpful
[ Results | Polls ]
Comments:0 | Votes:0

Problem with Internationalization

posted by Krow on 09:10 AM January 5th, 2001   Printer-friendly   Email story
Vladinator writes "I have just setup a slash site for a mission (it's available HERE) and I am concerned about one small problem: The site will be used largely by people who speak Slovenian as well as English - and as such, they need the characters Ss, and ?? and their Cc equivelants! If I recall correctly, these are filtered out due to the actions of some trolls on Slashdot and I need them back - however I don't have the server locally, it's in Isriel. How do I get these characters back?"
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login
Loading... please wait.
  • Also, I'm noticing that the letters that were in my submission didn't display properly when it was posted. They should be C,S, and Z both upper and lower case with a down pointing carret character (like the one above the 6 on the keyboard, but pointing the other direction.)
    --


    "How about you interface with my ass? By biting it!" --Bender
  • Yikes. I'm not a Perl Monk like you guys, I'm learning however. Is there anything I could do to assist in this process? Is this even remotely a priority, or am I just basically hosed? :-)
    --


    "How about you interface with my ass? By biting it!" --Bender
  • Well ... I think there probably is something we can do in the long run, but not right now. We are just working on finishing up the code we have, and bender is not really i18n-ready anyway. I think we should come back and address that in a later version, personally. (I reserve the right to change my mind.)
  • Could this be an option? One that could be enabled for people using Slash in an international setting?
    --


    "How about you interface with my ass? By biting it!" --Bender
  • That I'm asking about these characters in Usernames. I think they will work in the articles, etc. - but I need them in usernames and also in passwords. I don't know if the user of international characters is restricted anywhere else, but the username thing I know exists at slashdot - any help would be GREATLY appriciated.
    --


    "How about you interface with my ass? By biting it!" --Bender
  • If we were only supporting MySQL 2.33 we could solve this by changing the select to using the BINARY keyword.
    --

    --
    You can't grep a dead tree.
  • There is a significant problem with allowing these characters in user names. That is, "chris" is the same as "çhris" as far as MySQL is concerned (try select "c" = "ç" and see).

    Another problem is, as you noted, that these names will not show up properly across all browsers. Character sets, different browsers, etc. ensure this.

    The first issue can be solved by doing something with the matchname field somehow (we would need to decide if we would even WANT there to be two nicknames, only differentiated by accent signs; so it is not just code problems, but functionality decisions to make). The second problem can be fixed by doing some character mapping to HTML entities. This is a pain in the butt, though; how do you know if someone typing in a certain character, if that character will be sent by the browser in the proper character set?

    The fact is that ASCII is the only way to be safe. That doesn't mean we can't do other character sets, just that they are far more prone to problems. It is something that is definitely worth doing, but it is not an easy problem, and it is one that would need to be approached carefully.

  • If it were something that could just be added to the code, it might, but this is something that needs to be integrated into the code at several levels, I think.
  • Ah. Would more help (I.E. people) do anything positive in this regard?
    --


    "How about you interface with my ass? By biting it!" --Bender
  • by Anonymous Coward
    I'm a WIPO Troll.