| | |
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
Views: 1121 | Replies: 1
| Thread Tools | Search this Thread |
Tag cloud for PHP
.htaccess access ajax apache api array beginner binary broken cakephp checkbox class cms code cron curl customizableitems database date directory display download dynamic echo email error file files folder form format forms forum function functions google headmethod href htaccess html image include insert integration ip java javascript joomla jquery limit link login loop mail malfunctioning menu methods mlm mod_rewrite multiple mysql oop parse paypal pdf php problem query radio random recursion regex remote script search select server sessions sms soap source space speed sql structure syntax system table tutorial update updates upload url validation validator variable video web xml youtube






