Daniil wrote:And why I cannot see any forums, although I've created some with admin panel?
Danii wrote:
Oops, I cannot add users as well (in the admin panel, I am moved to the forum title page if I choose to insert a new user, and no "register" link there)
Update: ups, I can register, needed to logout first 8)
Daniil wrote:No Exceptions. everythink works "fine", I think Java replaces cyrillics with "?"s silently somewhere.
Do you modify jdbc URL to include some charset information (should work fine without)? Do you care about charset when reading form data?
Daniil wrote:
The funny thing is that on your forum at jForum.net, my Galeon seems to convert cyrillics to HTML entities (like this: немного кириллицы ('some cyrillycs' - Rus.)) so it's not important what the java/mysql/html charset really is, except for sorting/collation problems with database maybe and the space overhead.
Any clues on that browser behavior?
Rafael Steil wrote:
Daniil wrote:And why I cannot see any forums, although I've created some with admin panel?
hhmm.. I guess I fixed this.. strange.. well, if the problem is the one I think, then you should give access rights to the forums. For example, after you create some forum, go the Group administration, click on "Permissions" link and just click "Save". It should work.
Rafael Steil wrote:
Daniil wrote:No Exceptions. everythink works "fine", I think Java replaces cyrillics with "?"s silently somewhere.
Do you modify jdbc URL to include some charset information (should work fine without)? Do you care about charset when reading form data?
Nope, I didn't at all... Suggestions?
Daniil wrote:
Hmm... How does that "list" tag really works?..
Rafael Steil wrote:
the regex is:
[...]
it works veeeeeeeeeeery in a different fashion :roll: ( currently, at least )
Daniil wrote:
Rafael Steil wrote:
Daniil wrote:No Exceptions. everythink works "fine", I think Java replaces cyrillics with "?"s silently somewhere.
Do you modify jdbc URL to include some charset information (should work fine without)? Do you care about charset when reading form data?
Nope, I didn't at all... Suggestions?
OK.
I think if you do all of this:...
Make htmls use Utf-8 charset. <meta http-equiv="content-type" context="text/html; chatset=Utf-8"> Force the forms to use Utf-8 charset. <form accept-charset="Utf-8"> request.setCharacterEncoding("Utf-8"); in servlet code BufferedWriter out = new BufferedWriter(new OutputStreamWriter(response.getOutputStream, "Utf-8"));
in servlet code to get output writer...then forum will use Utf-8 nearly everywhere. Except the MySQL, which doesn't support Utf-8 yet, so JDBC driver will replace characters that can't be represented propertly in the charset MySQL uses with '?'s.
Maybe there are other way (without Utf-8), I don't know.
Hmm... How does that "list" tag really works?..
Daniil wrote:Thanks to you! Great work overall!
BTW, I've installed it here for now (my home computer): http://dan.solutions.lv/forum/
Rafael Steil wrote:well, I cannot say exactly why you are getting that session error.. if you could put a breakpoint in JForum.java to try look out for a possible problem, it would be nice
Rafael
Daniil wrote:Probably the introcuduction of a new config variable, called forum_charset or alike, would be better way then hard-coding the Utf-8.
Daniil wrote:
Well, anyway... Will you make release with Utf-8 or should I use current CVS (how)?
Anonymous wrote:a release of version with utf-8 (as parameter of hardcoded) would be very welcome. i'd like to use jforum, but it has to handle polish letters, which this version does, and rc3.1 doesn't.
Water! People swim in water! Even tiny ads swim in water:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
|