Raised This Month: $ Target: $400
 0% 

UTF-8 Escape


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Zephyrus
Cool Pig B)
Join Date: Jun 2010
Location: Hungary
Old 08-31-2014 , 02:32   UTF-8 Escape
Reply With Quote #1

Well the title says it all, it's a small include to escape UTF-8 text, handy for JSON and anything web related

The usage is simple:

Code:
UTF8_Encode(in_string, in_string_len, out_string, out_string_max_len);
The code could probably be tweaked to be nicer, but it works.
Attached Files
File Type: inc utf8.inc (1.5 KB, 204 views)
__________________
Taking private C++/PHP/SourcePawn requests, PM me.
Zephyrus is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:38.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode