Print Page | Close Window

charachters Converted to Question mark

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: General Discussion
Forum Description: General discussion and chat on any topic.
URL: https://forums.webwiz.net/forum_posts.asp?TID=10441
Printed Date: 01 April 2026 at 5:14pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: charachters Converted to Question mark
Posted By: meteor
Subject: charachters Converted to Question mark
Date Posted: 15 May 2004 at 1:05am

Hello
this is about two week that when i open my site(in persian lang and using windows-1256 encode) all or some persian char's converted to question mark(?) what happend to my server or this is because of IE or any other thing ?(it happend only at WWF)
like this 
????? ? ???????? ?? ???? ?? ? ??? ? ?????? ????
how can I solve this problem



-------------
Sincerely
--------------------
http://www.TacPlusPlus.com - PowerFull Scripts For NTTacPlus



Replies:
Posted By: zMaestro
Date Posted: 15 May 2004 at 1:09am
do you read from a database or html?


Posted By: meteor
Date Posted: 15 May 2004 at 1:14am

reading From data base(all users posts or any that i wrote to database in persian converted to question mark)

 



-------------
Sincerely
--------------------
http://www.TacPlusPlus.com - PowerFull Scripts For NTTacPlus


Posted By: zMaestro
Date Posted: 15 May 2004 at 1:20am

ok, if you are using Access database.. you can change the type of database from 'Microsoft Access' to 'Microsoft Access with Unicode' - this should fix it

 


Posted By: zMaestro
Date Posted: 15 May 2004 at 1:22am

btw, i faced the same problem using Arabic Language (1265).

I think the default database format that comes with the forum is Unicoded. plz try it and tell me the results, cause there are some others ways to fix it too.

 

 

Edit.. sorry, it is not unicoded.



Posted By: meteor
Date Posted: 15 May 2004 at 1:24am

but why it worked before this two or three week?

 



-------------
Sincerely
--------------------
http://www.TacPlusPlus.com - PowerFull Scripts For NTTacPlus


Posted By: meteor
Date Posted: 15 May 2004 at 1:26am

i am using web wiz forum's DSNless connection. now how can i do your command?

 



-------------
Sincerely
--------------------
http://www.TacPlusPlus.com - PowerFull Scripts For NTTacPlus


Posted By: meteor
Date Posted: 15 May 2004 at 1:28am
new posts or changing forums name correct's problem  but i cant do it for all(creating new forum category or forum is OK but previous converted)

-------------
Sincerely
--------------------
http://www.TacPlusPlus.com - PowerFull Scripts For NTTacPlus


Posted By: meteor
Date Posted: 15 May 2004 at 1:31am
Originally posted by zMaestro zMaestro wrote:


ok, if you are using Access database.. you can change the type of database from 'Microsoft Access' to 'Microsoft Access with Unicode' - this should fix it

how Can I Do it ?

-------------
Sincerely
--------------------
http://www.TacPlusPlus.com - PowerFull Scripts For NTTacPlus


Posted By: zMaestro
Date Posted: 15 May 2004 at 1:37am
http://forums.webwiz.net/forum_posts.asp?TID=9169 - http://forums.webwiz.net/forum_posts.asp?TID=91 69


Posted By: meteor
Date Posted: 15 May 2004 at 1:59am

tanx

problem solved
cause of problem :
at about three week ago i was upgraded my server mother bord and CPU(before it i removed all hardwares) after this i was repaired windows and updated it and forgot to set default to my language.

tanx for your help
i wish the Best For You and All Good guys



-------------
Sincerely
--------------------
http://www.TacPlusPlus.com - PowerFull Scripts For NTTacPlus


Posted By: topduck
Date Posted: 09 July 2004 at 5:00pm
that doesn't solve the problem if someone visit your forum and he or she didn't change their regional settings


Posted By: topduck
Date Posted: 09 July 2004 at 6:18pm
Originally posted by zMaestro zMaestro wrote:

ok, if you are using Access database.. you can change the type of database from 'Microsoft Access' to 'Microsoft Access with Unicode' - this should fix it

 

can you please let me know how to change the database type from access to access with unicode ....

I know it could be very simple but sorry I don't know how its done

your help will be highly appriciated



Posted By: meteor
Date Posted: 30 October 2004 at 9:30am

Hi .
i have same problem With mail System
after uploading my Site into New host (7host.com) i have this Problem
when user send Email from Contact us Of Site and Write some letters in persian lang after sending email will convert to Question marks like this
?? ???? ???? ??ی?ی? ???? ????? ???
???? ?? ?????? ?ی? ???? ???? ? ?? ???? ?? mail ??ی? :

?ی?? ??? ????? ???? ??? (#TAC)
???? ??????ی ?ی? ??? ?????
??? ??????ی ?ی? ??? ?????
??ی?? ??? ? ??? ?????ی ?ی? ??? ?????
? ?ی??? ?ی? ???? nttacplus ?? ??? #tac ?? ??ی ?? ??? ?ی ??ی? ??? ??? ? ی? ??? ?????

?? ????

i try to add
session.codepage=1256
for arabic Support on Send_email.asp  and into a Contactus.asp File (Meta tag Windows-1256)
but Error not solved . what can i do ?



-------------
Sincerely
--------------------
http://www.TacPlusPlus.com - PowerFull Scripts For NTTacPlus


Posted By: WebWiz-Bruce
Date Posted: 30 October 2004 at 12:40pm
It maybe that your hosts needs to install persian langauge support onto the server.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: meteor
Date Posted: 30 October 2004 at 3:02pm

i dont think
because other persian pages work correctly (databases and Webpages that have persian information)

 



-------------
Sincerely
--------------------
http://www.TacPlusPlus.com - PowerFull Scripts For NTTacPlus


Posted By: dpyers
Date Posted: 31 October 2004 at 1:23am
Is your mail server localhost, or another mail server?

-------------

Lead me not into temptation... I know the short cut, follow me.


Posted By: meteor
Date Posted: 31 October 2004 at 2:38am

it is on the other server .
web page is located at XXX.194.38.203
and mail server is located on XXX.194.37.224

is it because of that mail server dos not have regional Langs ?

 



-------------
Sincerely
--------------------
http://www.TacPlusPlus.com - PowerFull Scripts For NTTacPlus


Posted By: meteor
Date Posted: 31 October 2004 at 3:29am

Another :
all String Variables Defined with Some Persian Letter have this Problem

Like

Session.codepage = 1256
Dim Hello
hello = "سلام"
Will Shoe ؟؟؟؟

 



-------------
Sincerely
--------------------
http://www.TacPlusPlus.com - PowerFull Scripts For NTTacPlus


Posted By: zMaestro
Date Posted: 31 October 2004 at 4:41am

You needn't install the Persian Language on the server, I faced this problem before, I tried many things until one of them worked successfully, I don't remember which one worked, but I think you should do the following:

1- Send your emails as HTML
2- Add the characted code 1256 with the outgoing mail

The CDONTS works fine with me, allowing send the arabic characters 1256 with no problem with the emails.

Dim mailObj
set mailObj = Server.CreateObject("CDONTS.NewMail")
mailObj.BodyFormat = 1
mailObj.MailFormat = 1
mailObj.From = Request("Email")
mailObj.To = " mailto:webform@yourdomain.com - webform@yourdomain.com "
mailObj.Subject = Request("Subject")
mailObj.Body = BodyMessage
mailObj.Send

where:

BodyMessage=   "<html><head><m eta http-equiv=Content-Language content=ar-eg><meta http-equiv=Content-Type content=text/html; charset=windows-1256>"
BodyMessage=  BodyMessage & Request("Message") 



Posted By: dpyers
Date Posted: 31 October 2004 at 9:56am
zMaestro has more experiece with the issue than I do, but for text email, I would think that as text email is often just extended ascii - 256 characters - you would need to have the mail server configured for unicode with suport for Farsi.

-------------

Lead me not into temptation... I know the short cut, follow me.


Posted By: meteor
Date Posted: 03 November 2004 at 12:31am
I finally Wrote a Letter To my Host Webmaster and he Replied Me as Follow:
Hello,
 
I have checked thjis issue and you need to use charset=utf-8.
-----
i should Check this i will post more Information after checking

hey Webmaster there is some Problem With Forum When i clicked More imoticon i get this Error
 

Microsoft VBScript runtime error '800a01f4'

Variable is undefined: 'strTxtClickOnEmoticonToAdd'

/wwf_forum/RTE_emoticons_smilies.asp, line 117

=====


-------------
Sincerely
--------------------
http://www.TacPlusPlus.com - PowerFull Scripts For NTTacPlus



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