Parth Bhatt
Parth Bhatt

Reputation: 19469

iPhone: Which encoding scheme should be used in importing CSV file into Sqlite database

In my iPhone app, I am importing CSV file into SQlite database using CHCSV parser.

My CSV file contains data in European Languages containing special characters like umlaut, etc.

Which encoding should I use?

Should it be UTF8StringEncoding or some other encoding scheme?

Upvotes: 0

Views: 394

Answers (1)

Lily Ballard
Lily Ballard

Reputation: 185811

What encoding is the original file in? Because that's the encoding you should use. CSV doesn't define any specific encoding, so it really depends on how the file was created.

Upvotes: 1

Related Questions