blakgeek / cordova-plugin-cocoapods-support

A Cordova/PhoneGap plugin to add support for CocoaPods dependencies.
MIT License
72 stars 71 forks source link

Support accented characters in application name #17

Closed qkdreyer closed 6 years ago

qkdreyer commented 7 years ago

FWIK, either Apple Xcode or Cordova while building the xcodeproj file is re-encoding characters such as "é" with "e´".

A quick fix for my case would be replacing

var appName = configParser.name();

with :

var appName = configParser.name().replace("\u00E9", "\u0065\u0301");

Looks the same, but different :

console.log("\u00E9", "\u0065\u0301", "\u00E9" === "\u0065\u0301")
é é false

Are you aware of this issue ?

guirip commented 7 years ago

Hello @qkdreyer (salut ;-))

I encountered the exact same issue this morning, but this was before using this plugin so I assume it is related to Cocoa Pods itself.

Cheers!