Print Page | Close Window

Hebrew Usernames can’t login

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=3905
Printed Date: 08 April 2026 at 9:29pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Hebrew Usernames can’t login
Posted By: Shkooz
Subject: Hebrew Usernames can’t login
Date Posted: 28 June 2003 at 6:58am

when a Hebrew username trys to login it says he doesn't have the permission or something although his username and password are currect..

 

can u check this out?

 




Replies:
Posted By: zadax
Date Posted: 28 June 2003 at 1:41pm

the Hebrew Usernames Works  Fine,,,

Look again in their Group permission .



Posted By: Shkooz
Date Posted: 28 June 2003 at 1:55pm

i already fixed it.. i used "escape" on the cookies.....



Posted By: ngry
Date Posted: 29 June 2003 at 4:40am

hi, I have this problem to

או אם נכתוב בעברית, גם לי יש את הבעיה הזו מאז שהוספתי את השורה של הקודפייג'. אז מה עושים? מה זאת אומרת שהשתמשת באסקייפ בקוקיז?

 



Posted By: Ohad
Date Posted: 29 June 2003 at 3:34pm

Do Escape to the cookies while write them

and do Unescape the the cookies before you read them

The Problem is that the cookies is written in jibrish.

To Do Escape you need to do this:

str = escape(str)

to read the cookie

str = unescape(str)

I Hope You Know ASP, and you know where to add this function.

If I Have Time - I will publish the full hebrew version, I dont mean to the language file.



Posted By: ngry
Date Posted: 29 June 2003 at 11:21pm

תודה על העזרה.

בינתיים קיבלתי עזרה מshkooz שכתב לי את זה:


בדף login_user.asp בשורה 131 עשיתי כך:

strUserCode = escape(rsCommon("User_code"))

וב common.asp בשורה 345 עשיתי כך:

strLoggedInUserCode = Trim(Mid(unescape(Request.Cookies("Forum")("UID")), 1, 44))

ואני יכול לומר לגביי שזה בהחלט פתר את הבעיה.

אגב, למה אתה אומר שהקוקיז נכתב בג'יבריש? בכל אופן, אחרי שקודדתי לעברית את כל הדפים שאפשר לקודד כל מה שנכנס לדטה-בייס, נכנס בעברית ולא בגיברישית.

 

כל טוב 



Posted By: ngry
Date Posted: 30 June 2003 at 1:01am

צריך להוסיף עוד אסקייפ גם בדף

register.asp

שורה 838

ככה:

Response.Cookies("Forum")("UID") = escape(strUserCode)

ואז גם מי שנרשם או שמעדכן את הפרופיל נשאר מחובר ולא עף החוצה וצריך להתחבר שוב.



Posted By: Ohad
Date Posted: 30 June 2003 at 1:13am

Atem roim ivrit? ki ani lo ani roe rak jibrish



Posted By: Ohad
Date Posted: 30 June 2003 at 1:14am

אה פסדר, סידרתי את זה



Posted By: Ohad
Date Posted: 30 June 2003 at 1:17am

הקוקיז נכתב בגיבריש ובגלל זה הוא לא מצליח לקרוא אותו - כשאתה עושה escape

אתה מקדד אותו ואז אין אותיות בעברית והקוקיז מקודד כשאתה עושה unescape - זה מחזיר את זה עוד פעם לעברית. וכך לא נשמרים נתונים בעברית ב-קוקיז.

ואני לא מדבר על המסד נתונים - אלא על הקוקיז בלבד.



Posted By: ngry
Date Posted: 30 June 2003 at 1:44am

צריך לשנות גם בקובץ

common.asp

שבספריית אדמין, שורות

217

Response.Cookies("Forum")("UID") = escape(strUserCode)

ושורה229

strLoggedInUserCode = unescape(Request.Cookies("Forum")("UID"))

זה אם אתם רוצים להיכנס לאדמין בשם עברי



Posted By: Darklos
Date Posted: 01 August 2004 at 12:57pm
Why going through all this trouble? just add the next
line after the tag <head> in all of your pages:

<meta http-equiv="Content-Type" content="text/html; charset=windows-1255">

This will automaticly define your forum's language as
Hebrew, so that every action you'll do will be in Hebrew
and won't make any language problems..



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net