| | |
dot prn encoding problem
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
hey
i have this problem giving me a painful headache and sleeplessness
ive got these .prn files which should converted into DB
and these files contain numbers along with arabic characters the problem is the encoding of these characters is not readable
anyone hav an idea how i could convert these files
i already have a script which checks for some characters and dumps the rest which was used before in my company but it is a little bit slow
and prn files BTW are files generated for some kind of printer or something like this
thnx anyway
i have this problem giving me a painful headache and sleeplessness
ive got these .prn files which should converted into DB
and these files contain numbers along with arabic characters the problem is the encoding of these characters is not readable
anyone hav an idea how i could convert these files
i already have a script which checks for some characters and dumps the rest which was used before in my company but it is a little bit slow
and prn files BTW are files generated for some kind of printer or something like this
thnx anyway
programming is an art ,only for those who can understand it.
- th3 php wr3nch -
- th3 php wr3nch -
•
•
•
•
hey
i have this problem giving me a painful headache and sleeplessness
ive got these .prn files which should converted into DB
and these files contain numbers along with arabic characters the problem is the encoding of these characters is not readable
anyone hav an idea how i could convert these files
i already have a script which checks for some characters and dumps the rest which was used before in my company but it is a little bit slow
and prn files BTW are files generated for some kind of printer or something like this
thnx anyway
What do you mean by converted to DB? Do you want to save the data in the files into a database field?
PHP should be able to read the binary data from the file, and then save it to a binary field in the db without changing any data.
If you wanted to display the file contents however with PHP, or have PHP parse the file contents, you'll have to make sure the parsing takes into account the encoding of the file, so that you do not corrupt the file. Having PHP parse the file is not needed however to insert all the file contents into a database field.
Are you trying to index the .prn file contents in the db? or just save the file contents into fields?
www.fijiwebdesign.com - web design and development and fun
Cpanel Email - Let users Register email accounts on your website upon registration
Ajax Chat - Fully browser based chat!
Cpanel Email - Let users Register email accounts on your website upon registration
Ajax Chat - Fully browser based chat!
![]() |
Similar Threads
- Porblem in UTF-8 support on CSV/EXCEL (PHP)
- Problem opening / creating Dot net 2003 projects (Windows Servers and IIS)
- Norton Antivirus Problem!!!!!! (Viruses, Spyware and other Nasties)
- Error Message in Word: Visual Basic Box 'Macros in this project are Disabled' (Windows NT / 2000 / XP)
- Explorer Encoding (Web Browsers)
- newbie: need help setting up my network, router + firewall problems (Networking Hardware Configuration)
Other Threads in the PHP Forum
- Previous Thread: dont display clicked links ?
- Next Thread: PHP 4 end of life announcement
| Thread Tools | Search this Thread |
apache api array beginner binary body broken buttons cakephp checkbox class cms code cron curl database date date/time display dynamic ebooks echo email error file files folder form forms function functions global google href htaccess html image include insert ip javascript joomla limit link list login mail mediawiki menu mlm msqli_multi_query multiple mycodeisbad mysql navigation number oop parameter paypal pdf php phpincludeissue problem query radio random recourse recursion regex remote script search seo server sessions sms source sp space speed sql static subdomain syntax system table tag tutorial update upload url validator variable vbulletin video web webdesign white xml youtube






