Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 2    Views: 208

tompos
Veteran developer
Profile
Posts: 127
Reg: Oct 19, 2013
Würzburg
7,370
10/19/17 01:31 PM (6 years ago)

iOS Unicode problem in BT4 (solved :-) )

I just looked into the BT source code to solve my unicode problem: My app is handling utf8 characters fine... unless they are given as text input in my BT control panel. This problem was not present in BT3 source code. Solution... the problem is in "BT_loading.m" Just replace response = [NSString stringWithContentsOfURL:escapedURL encoding:NSASCIIStringEncoding error:&error]; with response = [NSString stringWithContentsOfURL:escapedURL encoding:NSUTF8StringEncoding error:&error]; Happy coding Thomas
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
10/19/17 05:22 PM (6 years ago)
I've been updating BTv3 projects (just more convenient), but I'm adding this to my notes. Thanks Thomas! Cheers! -- Smug
 
Calypso Kid
Aspiring developer
Profile
Posts: 780
Reg: Mar 09, 2012
Upstate New Yor...
18,200
like
10/19/17 06:54 PM (6 years ago)
Thanks Thomas Dave
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.