objective c - iOS URI Scheme doesn't accepts multilingual characters -
i'm new ios planet!
i need set uri scheme app like: myappname://
open app email clients.
but now, if app name has jpn characters or other language characters myappname日本語://
will work normal(url querystring reads multiligual characters) or need do?
thanks suggestion
in ios uri scheme , there requirment of convert multi language char via encoding of url.let take example in url contains other language char.
nsstring *string = @"http://test.com/teståäötest"; nslog(@"url string! %@", [nsurl urlwithstring:string]); nslog(@"url escaped string! %@", [nsurl urlwithstring: [string stringbyaddingpercentescapesusingencoding:nsutf8stringencoding]]);
hope helps !
Comments
Post a Comment