Raised This Month: $ Target: $400
 0% 

[stock]utf8 safe string cutter


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
javalia
Senior Member
Join Date: May 2009
Location: korea, republic of
Old 01-12-2013 , 02:52   Re: [stock]utf8 safe string cutter
Reply With Quote #3

ah, i forgot about that function, however, because of other bit operations, i still need that const.
so i will just leave that.


and, even u give string buffer with enough size that corresponds MAX_NAME_LENGTH, because game`s client name string itself is cutted in non utf8 safe way, it can return strings that r having a sliced multibyte character on end of string.
__________________
javalia is offline
 


Thread Tools
Display Modes

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 13:43.


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