Armenian Knowledge Base  

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

Reply
 
LinkBack Thread Tools
Old 28.07.2003, 15:46   #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 PHP problem

u menya takaya problema ->

ya doljen chitat` iz "*.DOC" (MS Word) fayla ...
vobshem , kogda tam napisano po angliyski ili po armyanski , vsyo prosto perkrasno poluchaetsa , no kogda text po russki , to ne figa ne poluchaetsa !! chitaet kakie-to urodlivie bukvi s kubikami

vot kod `

$handle = fopen ("a.doc", "rb");
$content = fread ($handle, filesize($filename));
fclose ($handle);

echo $content;

ya konechno znayu shto tak ya budu chitat ves text v documente i tam budut symvoli docovskovo formata , no ya prosto xochu videt russkiy text , no ne viju.

a eto chast outputa `
>7>1=>28;>AL <>@A:>5 A>>1I5=85 <564C !>G8 8 !CEC<8, ?>:0 =0
Reply With Quote
Old 28.07.2003, 19:54   #2
Stalker
 
Timewind's Avatar
 
Join Date: 09 2002
Location: Припять
Age: 83
Posts: 853
Downloads: 0
Uploads: 0
Reputation: 12 | 3
Default

ape, mi hat tes inch es anum.
DOCi mej text gri, ruseren bayc fonter@ tipa arial, @nenc ara vor unicode gres, KDWinov karas.

jogir vonc em asum?

hl@ porci asa inch exav.
Reply With Quote
Old 28.07.2003, 20:36   #3
ppz kkz
 
Davit's Avatar
 
Join Date: 03 2003
Location: at home
Age: 33
Posts: 111
Downloads: 0
Uploads: 0
Reputation: 19 | 3
Default

ha ytenc pordsel em ...
vor KdWin-ov Russian Unicode Phonetic - ov em grum , nor ed problemy linuma , isk vor uncode-ov chem grum normal karduma..

ed doc-eri mej unicode-ova grac
Reply With Quote
Old 29.07.2003, 08:48   #4
Stalker
 
Timewind's Avatar
 
Join Date: 09 2002
Location: Припять
Age: 83
Posts: 853
Downloads: 0
Uploads: 0
Reputation: 12 | 3
Default

qez anpayman petq a vor fonter@ linen voch rusakan

u ruseren text@ DOCum grac lini unicode ha?
Reply With Quote
Old 29.07.2003, 09:59   #5
ppz kkz
 
Davit's Avatar
 
Join Date: 03 2003
Location: at home
Age: 33
Posts: 111
Downloads: 0
Uploads: 0
Reputation: 19 | 3
Default

de fonteri yntrutyuny chi azdum ardyunqi vra ...
isk text-ery henc unicode-ov en ...
Reply With Quote
Sponsored Links
Reply

Thread Tools


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

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


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