shlomikalfa Posted April 24, 2008 Share Posted April 24, 2008 hey guys, The thing is, i have a MySQL DB that contains all sorts of 'Text' data which is saved in a UTF-8 UNICODE format [in the DB] now all i want to do is pull that data out of the MySQL DB and 'Echo' it, Now... there is no issue while 'Echo'ing it... it works just fine through a browser... i can switch that page's encoding into UTF-8 and it's all readable and fine... however when i try pulling this page through VB it seems like the HTTP1.1 send is failing... i've also tried using: htmlentities($OutPut, ENT_NOQUOTES, "UTF-8") but it yet seems to fail... Any pointers?! Link to comment https://forums.phpfreaks.com/topic/102812-pulling-out-unicode-data-from-mysql-and-sending-it-http11/ Share on other sites More sharing options...
shlomikalfa Posted April 25, 2008 Author Share Posted April 25, 2008 well guys, i'm at my wits end.... It seems to be working fine with 'Echo' while it pulls out data which is not of UNICODE type [eng]. but when it pull some UNICODE data from the DB it always fails the send with VB... Works fine with browsers-> PLEASE HELP !!! Link to comment https://forums.phpfreaks.com/topic/102812-pulling-out-unicode-data-from-mysql-and-sending-it-http11/#findComment-526857 Share on other sites More sharing options...
shlomikalfa Posted April 25, 2008 Author Share Posted April 25, 2008 bump... Link to comment https://forums.phpfreaks.com/topic/102812-pulling-out-unicode-data-from-mysql-and-sending-it-http11/#findComment-527013 Share on other sites More sharing options...
effigy Posted April 25, 2008 Share Posted April 25, 2008 This is only VB and not PHP? What are the exact errors you're receiving? Link to comment https://forums.phpfreaks.com/topic/102812-pulling-out-unicode-data-from-mysql-and-sending-it-http11/#findComment-527084 Share on other sites More sharing options...
shlomikalfa Posted April 25, 2008 Author Share Posted April 25, 2008 The PHP part is working all ok i think [since it does spit the data into the browser when accessed by the browser] but i think that there is some issues with sending the data via HTTP1.1 to the VB script... while i'm running TCPRecv on the script the script is waiting, waiting and then tells me that the server has timed out with only just a part of the package sent.... any idea? Link to comment https://forums.phpfreaks.com/topic/102812-pulling-out-unicode-data-from-mysql-and-sending-it-http11/#findComment-527134 Share on other sites More sharing options...
effigy Posted April 25, 2008 Share Posted April 25, 2008 I'm afraid I cannot help with VB. Is this useful? Link to comment https://forums.phpfreaks.com/topic/102812-pulling-out-unicode-data-from-mysql-and-sending-it-http11/#findComment-527147 Share on other sites More sharing options...
shlomikalfa Posted April 26, 2008 Author Share Posted April 26, 2008 Well... after some """"SH1TLOAD"""" of reading i know whats the main issue atm.... The script sometimes answers in plain text and sometimes it switches to binary, i think it has to do with the charset of the content being sent.... Any idea if it's so ? Link to comment https://forums.phpfreaks.com/topic/102812-pulling-out-unicode-data-from-mysql-and-sending-it-http11/#findComment-527783 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.