Armenian Knowledge Base  

Go Back   Armenian Knowledge Base > Technical sections > Webmaster Zone > Web Development
Register

Reply
 
LinkBack Thread Tools
Old 22.06.2003, 21:57   #1
ppz kkz
 
Davit's Avatar
 
Join Date: 03 2003
Location: at home
Age: 33
Posts: 111
Downloads: 0
Uploads: 0
Reputation: 19 | 3
Default problema s russkimi bukvami v php

Ya xachu pisat v obichniy file po russki.
Vobshem ya delayu tak `
u menya FORM , v nyom TEXTAREA , v nyom ya pishu russkimi bukvami i delayu POST.
Potom beru parametr TEXTAREA i pishu ego v file ... no v file-e okazivayutsa shestisimvolnie bukvi.

primerno viglyadat oni tak ---- ô&ucirc .

Ya znayu shto problema v POST-e (ili v TEXTAREA).

Mojete pomoch ?

zaranee spasibo
Reply With Quote
Old 23.06.2003, 10:41   #2
Волк, просто волк...
 
_ WOLF _'s Avatar
 
Join Date: 07 2002
Location: /dev/null
Age: 72
Posts: 250
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Default Re: problema s russkimi bukvami v php

Quote:
Originally posted by Davit
Ya xachu pisat v obichniy file po russki.
nu i pishi...

a kakoy u teyba encoding? windows-1251?

karogha FORM-i HTML-um encoding@ ches tvel....

Code:
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
indz tvum a miayn ays problemn a
Reply With Quote
Old 23.06.2003, 11:51   #3
Web developer
 
Aram Ghazanchyan's Avatar
 
Join Date: 09 2002
Location: Yerevan
Age: 36
Posts: 896
Downloads: 1
Uploads: 0
Reputation: 9 | 0
Default

Если в форме реально набирается русский текст, то он должен в таком же виде передаваться переменной.
Reply With Quote
Old 23.06.2003, 13:42   #4
Moderator
 
Join Date: 03 2002
Location: Russia
Posts: 123
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Default

no v file-e okazivayutsa shestisimvolnie bukvi.
Это как?
Reply With Quote
Old 23.06.2003, 14:17   #5
D € S I G N € ®
 
gorvard's Avatar
 
Join Date: 05 2002
Location: Yerevan
Age: 34
Posts: 422
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Default

Quote:
Originally posted by hayk
no v file-e okazivayutsa shestisimvolnie bukvi.
Это как?
vot tak, dlya bukv
ф ы в а --> poluchaetca--> &no.1092; &no.1099; &no.1074; &no.1072;
Reply With Quote
Old 23.06.2003, 14:19   #6
Волк, просто волк...
 
_ WOLF _'s Avatar
 
Join Date: 07 2002
Location: /dev/null
Age: 72
Posts: 250
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Default

erevi senc &amp;ocirc; &amp;ucirc
Reply With Quote
Old 23.06.2003, 14:49   #7
Moderator
 
Join Date: 03 2002
Location: Russia
Posts: 123
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Default

Quote:
Originally posted by gorvard
vot tak, dlya bukv
ф ы в а --> poluchaetca--> &no.1092; &no.1099; &no.1074; &no.1072;
Ну тогда у тебя, как сказал _ WOLF _ не прописан
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
Скорее всего он либо вообще отстутствует, или же что-то типа
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

Такая форма записи не-ASCII символов называется html-entity.
Reply With Quote
Old 23.06.2003, 14:54   #8
D € S I G N € ®
 
gorvard's Avatar
 
Join Date: 05 2002
Location: Yerevan
Age: 34
Posts: 422
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Default

-> Davit
potom tchatelno posmotrim, mne kajetca ya ponyal vchyom vopros!
i eshe nado koe-chto menyat v CSS file
Reply With Quote
Old 23.06.2003, 18:45   #9
Волк, просто волк...
 
_ WOLF _'s Avatar
 
Join Date: 07 2002
Location: /dev/null
Age: 72
Posts: 250
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Default

gorvard CSS-@ stegh voch mi kap chuni...

Kam documentum sxal encoding a drats, kam el chi drats u inq@ vercnum a Web Serveri vra drats default encoding@.
Reply With Quote
Old 23.06.2003, 21:03   #10
ppz kkz
 
Davit's Avatar
 
Join Date: 03 2003
Location: at home
Age: 33
Posts: 111
Downloads: 0
Uploads: 0
Reputation: 19 | 3
Default

che joxovurd jan ...
encoding@ normal drvaca ... windows-1251
es el chem haskanum , te inchumna problem@ ...
hamenajn deps sxaly texia unenum , erb ashxatuma POST kam GET zapros@.

ed encoding@ drvac e miajn ajn ejum , vortex Form-n e .Uxaki ajntex masnakcum e nayev 2-rd ejy, vorn uxaki REDIRECT e anum nujn FORM-i eji vra. Inds tvum e da piti vor chxangari ...
Reply With Quote
Old 24.06.2003, 07:30   #11
Stalker
 
Timewind's Avatar
 
Join Date: 09 2002
Location: Припять
Age: 83
Posts: 853
Downloads: 0
Uploads: 0
Reputation: 12 | 3
Default

mi hat et html(php) file uxarki tenam ...
vortex vor et forman a
vori tvyalner@ POST/GET es anum ....

Reply With Quote
Old 24.06.2003, 07:40   #12
Волк, просто волк...
 
_ WOLF _'s Avatar
 
Join Date: 07 2002
Location: /dev/null
Age: 72
Posts: 250
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Default

karas indz el CC anes
Reply With Quote
Old 24.06.2003, 08:24   #13
Web developer
 
Aram Ghazanchyan's Avatar
 
Join Date: 09 2002
Location: Yerevan
Age: 36
Posts: 896
Downloads: 1
Uploads: 0
Reputation: 9 | 0
Default

Indz el BCC
Reply With Quote
Old 24.06.2003, 08:33   #14
Магистр
 
Join Date: 02 2002
Location: Am
Posts: 952
Downloads: 0
Uploads: 0
Reputation: 26 | 4
Default

4ka.. 4ka..
indzel dzeri het parol'nere..))
Reply With Quote
Old 24.06.2003, 08:37   #15
Web developer
 
Aram Ghazanchyan's Avatar
 
Join Date: 09 2002
Location: Yerevan
Age: 36
Posts: 896
Downloads: 1
Uploads: 0
Reputation: 9 | 0
Default

Quote:
Originally posted by Arik
4ka.. 4ka..
indzel dzeri het parol'nere..))
Es el qez parol'ner@:

hduy239!@
ggwuni_56a1
bn90hj@$n89

Heriqa?
Reply With Quote
Sponsored Links
Reply

Thread Tools


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

All times are GMT. The time now is 14:40.


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