한글 스트링을 처리하는 것은 생각보다 까다롭다.
특히나 앱내에서 파일시스템을 보여줄때 한글폴더 리스트를 가져와서 뿌려주게 되는 경우 사용상의 문제는 없지만 보여지는 부분에서 문제가 발생한다.
예를 들면, 테스트 -> ㅌㅔㅅㅡㅌㅡ
이렇게 자음과 모음들이 분리되어 사용되어집니다. 시뮬레이터에서 한글을 사용하면 볼 수 있는 현상과 동일합니다.
이게 웃긴게 NSLog에서 찍을때는 정상적으로 나오지만 앱에서 보여질때 분리가 안되어 보여지기때문에 헷갈릴 수 있습니다.
첨엔 인코딩 문제인지 알고 해결법을 찾느라 많이 헤맸습니다.
하지만 간단한 문제였습니다. 인코딩이 아니라 iOS상에서 파일/폴더명이 Canonical Mapping되어 사용되고 있는거였습니다. xCode에서는 NSString에 관련 처리를 해주는 메소드가 있었습니다.
[text decomposedStringWithCanonicalMapping] : 매핑적용
[text precomposedStringWithCanonicalMapping] : 매핑해제
하면 할 수록 묘한 매력이 있는 세계~
5 brutal realities of high school football from a coachExcluding cells that died over the 36 h experiment also cheap jerseys
prolonged half life (cyan line, R2 = 0.7171; P 0.0001, extra sum of squares F test). Values were pooled from eight wells per condition, with experiments performed in quadruplicate.. (That’s some relief!) Relieved he reaches the factory gate and knocks at the huge gates. The guard opens the peephole and asks why he was cheap oakleys sunglasses
being disturbed? (What now?) The thirsty traveler asks for water. The biggest fight of his professional career, the caramel bomber failed to solve the Ukrainian riddle in an action packed fight at the O2 World Arena in Berlin, Germany. Plagued with injuries throughout his entertaining and illustrious career, one of David’s most memorable moments on the hit reality show I’m cheap football jerseys
A Celebrity, Get Me Out Of Here, is bathing in a waterfall and showing off his backside to the world.. It’s not like cheap jerseys
I’m the only recruiter cheap jordan
in the whole United States Army. I’m part of a recruiting unit. X rays were negative. C injured his right ankle on Smith’s TD.Ravens: Travel to Dallas on Nov. 20 to face the Cowboys, a team they’re 4 0 against since the series began in wholesale nfl jerseys
2000.. Hi I’m Evan from Gregg’s Greenway Cycles, and I’m going to talk to you a little bit about how to replace a spoke on a wheel. The first thing you want to do is get the wheel off the cheap nfl jerseys
bike and strip it. This is not a revisionist story to suggest there has been no fault on Steffensen’s part. There has been. Like the Big 10 which, by the way, is up to 11 teams now, going on 12. It is going to call its six team subgroups the Legends Division and the Leaders Division. Enjoy unlimited play of all your favorite games. You can get an unlimited pass and play all month long 24/7. Trump insisted on making up for his busy schedule with a super swanky wedding gift: He removed his (as he described them) “platinum, diamond Harry Winston” cuff links and gave them to Sheen like it was nothing. Because that’s exactly what it was.. Construction of a building is an example of essential causality. Here, a builder constructing a house and the house built during this process are the cause and effect respectively. While it did not get the exclusive package for the 2007 season, do not rule it out next year. Sports fans of all ilk can get their favorites on DirecTV’s services and the company is luring international viewers with it foreign language stations. The ultimate guide for how to flirt with a girl and how to seduce women. Shoddy New Nike Basketball Shoes hand Nike Shoes Running baggage that they simply exercise with out in the open.