Armenian Knowledge Base  

Go Back   Armenian Knowledge Base > Technical sections > Languages, Compilers, Interpreters
Register

Reply
 
LinkBack Thread Tools
Old 04.09.2006, 11:20   #1
полюбому йес эм...
 
Mesrop's Avatar
 
Join Date: 02 2005
Location: near the computer
Age: 26
Posts: 3,243
Downloads: 3
Uploads: 0
Reputation: 129 | 3
Default Russian in AJAX

joxovurd, AJAX-ov erbvor ruseren tarer en gnum MySQL,
darnum en %u0422%u0415%u0421%u0422 (слово "ТЕСТ")
imho, hnaravora et %u0422 sarqel sovorakan ruseren Character..
bayc inchpes?
Reply With Quote
Old 04.09.2006, 11:33   #2
Школьник
 
Fox's Avatar
 
Join Date: 11 2005
Location: AM
Posts: 178
Downloads: 0
Uploads: 0
Reputation: 15 | 3
Default

Nakh petqa chshtel te inch AJAXes ogtagorcum

heto Rusrent UNICODE da te che?

heto karokha mySQLna pchacnum?

ka Microsoft-i ActiveX vor normal ashkhatuma UNICODE het

ka Infragistics -i AJAX komponent vor nuinpes normal ashkhatuma
Reply With Quote
Old 04.09.2006, 11:44   #3
полюбому йес эм...
 
Mesrop's Avatar
 
Join Date: 02 2005
Location: near the computer
Age: 26
Posts: 3,243
Downloads: 3
Uploads: 0
Reputation: 129 | 3
Default

Русеренс Юникода.
cgidem mysqlna pchacnum te che...
isk chisht klni ete php-i STRTR funkcia-ov sax replace anem>?
vrode:
(%)u0422 > Т (lol (%) em grel, vortev FORUM-um post anelucel er sarqum normal tar. )

senc bolor mecatarneri u poqratarnei hamar...
Reply With Quote
Old 04.09.2006, 11:51   #4
полюбому йес эм...
 
Mesrop's Avatar
 
Join Date: 02 2005
Location: near the computer
Age: 26
Posts: 3,243
Downloads: 3
Uploads: 0
Reputation: 129 | 3
Default

Че. тенцел чи линум. РИплейсовел "?" - а берум ет Символ-и техы...
ете форумум ет 6 символнеры саркума 1символ нормал русерен, уремн инчвор михат ПХП Функиця а петя имхо...
Reply With Quote
Old 04.09.2006, 11:57   #5
The splendid
 
AvDav's Avatar
 
Join Date: 07 2004
Location: Pure thoughts
Age: 36
Posts: 3,408
Downloads: 22
Uploads: 0
Reputation: 222 | 3
Default

nu vobshem to u0XXX i est kajdiy uniocde simvol, pti tenas te konkret vortex es output anum u nde henc unicode apply anes. baci dranic kara pordzes mysqlum charset tal unicode karoxa ogni, konkret vonc chem hishum bayc dzer kar.
Reply With Quote
Old 04.09.2006, 12:07   #6
Школьник
 
Fox's Avatar
 
Join Date: 11 2005
Location: AM
Posts: 178
Downloads: 0
Uploads: 0
Reputation: 15 | 3
Default

nakh Debug porci anes
ete ASP ov grum , Visual Studio-ic attach ara u porci
ete PHP -ov uremn Zend khodi tur
u step-by-step tes te vortekha pchanum

chanaparin qo mot da kara mi 4-5 tekhum pchana
skzbic porci localisacnel khndir
Reply With Quote
Old 04.09.2006, 12:09   #7
Школьник
 
Fox's Avatar
 
Join Date: 11 2005
Location: AM
Posts: 178
Downloads: 0
Uploads: 0
Reputation: 15 | 3
Default

mySQL um sjunakt inch tipia?
Reply With Quote
Old 04.09.2006, 13:09   #8
полюбому йес эм...
 
Mesrop's Avatar
 
Join Date: 02 2005
Location: near the computer
Age: 26
Posts: 3,243
Downloads: 3
Uploads: 0
Reputation: 129 | 3
Default

Quote:
Originally Posted by Fox View Post
mySQL um sjunakt inch tipia?
MyISAM
isk karoxa vor outputi vra drelem htmlspecialchars() dranica?
Reply With Quote
Old 04.09.2006, 13:25   #9
Школьник
 
Fox's Avatar
 
Join Date: 11 2005
Location: AM
Posts: 178
Downloads: 0
Uploads: 0
Reputation: 15 | 3
Default

mihat porci
insert u select anes
ktesnes
ete normala uremn arden PHP i mej nai

DEBUG ara prci eli
Reply With Quote
Old 04.09.2006, 14:46   #10
полюбому йес эм...
 
Mesrop's Avatar
 
Join Date: 02 2005
Location: near the computer
Age: 26
Posts: 3,243
Downloads: 3
Uploads: 0
Reputation: 129 | 3
Default

PHPMyAdmin-ovela tenc symbolner cuctali...
aysinqn problem@ ADD-ica...
isk ADD linuma ay es php scriptov
PHP Code:
function add_line($to,$msg) {
    
include 
"config.php";
include 
"functions.php";
mysql_connect($db_host$db_login$db_pass);
mysql_select_db($db_name);
mysql_query("set names 'cp1251'");

if (
proverka($_COOKIE['c_username'], $_COOKIE['c_password'])==TRUE and $msg==TRUE and $to==TRUE){

$query="INSERT INTO `m_message`(`username`,`to`,`text`,`date`,`ip`,`view`) VALUES ('".$_COOKIE['c_username']."', '".$to."','".addslashes($msg)."','".date("[H:i:s]")."','".$_SERVER['REMOTE_ADDR']."','0')";

if (
mysql_query($query)==TRUE){
return 
true;}
}
else {return 
false;}
        
    } 
Reply With Quote
Old 04.09.2006, 15:13   #11
Школьник
 
Fox's Avatar
 
Join Date: 11 2005
Location: AM
Posts: 178
Downloads: 0
Uploads: 0
Reputation: 15 | 3
Default

mysql_query("set names 'cp1251'");

PHP-i lav chgitem baic ajs tokh im dur chi gali !
Reply With Quote
Old 04.09.2006, 15:18   #12
Школьник
 
Fox's Avatar
 
Join Date: 11 2005
Location: AM
Posts: 178
Downloads: 0
Uploads: 0
Reputation: 15 | 3
Default

plus MS SQL vor banes avelacnum
u da UNICODOVA dimac petqa gres
N'here is some UNICODE'

ajsinq dimacic petqa lini N
Reply With Quote
Old 04.09.2006, 15:25   #13
The splendid
 
AvDav's Avatar
 
Join Date: 07 2004
Location: Pure thoughts
Age: 36
Posts: 3,408
Downloads: 22
Uploads: 0
Reputation: 222 | 3
Default

cp1251-y kadzirofkena tali che ? de eti unicode chi pti hla naes mi dzevi vonc es dran unicodeov poxarinum.
Reply With Quote
Old 04.09.2006, 15:36   #14
полюбому йес эм...
 
Mesrop's Avatar
 
Join Date: 02 2005
Location: near the computer
Age: 26
Posts: 3,243
Downloads: 3
Uploads: 0
Reputation: 129 | 3
Default

vapshe et tox@ karam hanem. eti karcem SELECT-i hamara. isk yes Insert em anuim.
haneci. et tox@. dranic chi... sax nuynna
Reply With Quote
Old 04.09.2006, 15:51   #15
The splendid
 
AvDav's Avatar
 
Join Date: 07 2004
Location: Pure thoughts
Age: 36
Posts: 3,408
Downloads: 22
Uploads: 0
Reputation: 222 | 3
Default

aper vobshm, amen tablica injqam gidem toxeri pahman ira kadzirofken uni u inqy paumalchanyu et cp1251 a to li incha bayc hastat unicode chi, et dzevy vor imanas vonc poxes, erevi kashxti, nde pti inch vor hraman lni, helpum charset-eri masin karda.
Reply With Quote
Sponsored Links
Reply

Thread Tools


На правах рекламы:
реклама

All times are GMT. The time now is 03:09.


Powered by vBulletin® Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.