I am creating a `NSURL` URL will contain some escape character (Japanese)

```
    NSString* currentlocationbarString = @"mbos.help.jp/search?q=専門&pg=1"
NSString *escapedString = [currentlocationbarString stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLHostAllowedCharacterSet]];
NSURL* url = [NSURL URLWithString:escapedString];

```

> 
> //url is mbos.help.jp%2Fsearch%3Fq=%E5%B0%82%E9%96%80&pg=1
> 
> 
> 

When I create `NSURLComponents` and try to get query items it gives me nil.

```
NSURLComponents *urlComponents = [NSURLComponents componentsWithURL:url
                                                resolvingAgainstBaseURL:YES];
NSArray *queryItems = urlComponents.queryItems;

```

//here issue with queryItems 

if anybody has solution to get query items please help. Thanks in advance