Sign in to follow this  
Followers 0
Jury

_INetGetSourceEx UDF

6 posts in this topic

I can't for the life of me locate the _INetGetSourceEx UDF for working with UTF-8 0 it works so well - where did I find it before?

Share this post


Link to post
Share on other sites



#3 ·  Posted (edited)

Well I just put exactly what you are looking for in the search and found it withing 2 seconds, so I'm going to take longer typing this than to paste the link, because I dont believe you even looked.

EDIT:

Booooooooooooo ! :)

Edited by JohnOne

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Share this post


Link to post
Share on other sites

Thanks KaFu I did find the post you kindly pointed out to me but I thought _INetGetSourceEx was a UDF that I had to drop into my library - is it just a function that uses #include <INet.au3> ?

jury

Share this post


Link to post
Share on other sites

Reviewing it there's even an error in the example :)... It does not need INet.au3 but relies only on the build in InetRead() function.

$sSource = _INetGetSourceEx('http://russia.ru/video/news_9508/')
MsgBox(0, "", $sSource)
Func _INetGetSourceEx($s_URL, $bString = True)
 Local $sString = InetRead($s_URL, 1)
 Local $nError = @error, $nExtended = @extended
 If $bString Then $sString = BinaryToString($sString, 4)
 Return SetError($nError, $nExtended, $sString)
EndFunc   ;==>_INetGetSourceEx

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0