I'm new to FMDB and I'm following this tutorial. I create the database in terminal. I'm having a problem after I add my database to xcode and compile. It is not automatically in UTF-8. There are weird characters so there are lots of errors and it won't compile. Here's a screenshot: 
FMDB doesn't output to UTF-8 encoding
298 Views Asked by meghan66 At
1
There are 1 best solutions below
Related Questions in OBJECTIVE-C
- How do I customize NSOutlineView to have border color?
- UIWebView Screen Fitting Issue
- How to hide "Now playing url" in control center
- CloudKit: Preventing Duplicate Records
- Image and Text locations in UIButton
- setting OpenGL version in objective-C
- Setup code for xibs in iOS. -awakFromNb:
- realm db, get parent link of object
- CFBundleDocumentType is not working in myproject-Info.plist file
- UIPopoverPresentationController not rendering properly
- Using Storyboard Reference
- Pass Data between two view controllers using 'Delegation' : Objective-C
- Unexpected CALayer Vertical Flipping on 3D Rotation 'Bounce'
- Setting View orientation to portrait is ignored
- UITextField append / between dates while enforcing character limit
Related Questions in UTF-8
- Site code to enable UTF-8 to EBCDIC encoding
- Wrong output when str_replace with acute ( ´ ) in utf-8 website
- How to encode bytes as a printable unicode string (like base64 for ascii)
- showing umlauts in html with utf8 charset
- Replace special qoutes with normal
- wxWidgets and UTF8 - some characters missing
- Detecting corrupt characters in UTF-8 encoded text file
- Control encoding when parsing SPSS file using package memisc
- Slidify no longer renders accent marks
- javascript treating special characters as utf characters
- Character encoding is missing at a point
- Search special characters with pg_search
- Hot deploying HTML templates generates question marks in the place of chinese characters - only on CentOS
- Reading from property file containing utf 8 character
- Problems with UTF8 text in XE7 ReadLn command
Related Questions in SQLITE
- How to insert values into Android SQLite Database?
- Inserting and returning autoidentity in SQLite3
- sqlite3 select statement fails with "parameters are of unsupported type
- Android database query not returning any results
- No such column error when column does exist
- Can't insert " character into Sqlite DB [Objective-C]
- How do I Insert a Previously Created SQLite Database into a Xamarin.Android App?
- Clearing database for emulator app so it acts like being run for the first time?
- SQLite UPDATE statement updates all row in table
- ActiveResource::ResourceNotFound: Failed. Response code = 404. Response message = Not Found
- Syntax error in rails database query
- Deleting and Updating values from a cusrsor adapter
- restrict sqlite-wal and sqlite-shm from icloud backup
- Recieveing Null Pointer Exception when trying to retrieve data from SQL database to listview android
- Scraping blog and saving date to database causes DateError: unknown date format
Related Questions in FMDB
- save NSImage with FMDB in swift
- FMDB Swift SQL Get Number of Rows in Table
- FMDBBlockSQLiteCallBackFunction Crash in app that's not using makeFunctionNamed
- Fetching complex data using FMDB
- FMDB doesn't output to UTF-8 encoding
- SQL query through an imported database swift
- How to use FMDB with cocoapods and swift?
- Unable to perform update in FMDB using swift 3
- Decrypt database using FMDB with SQLCipher, setkey with a wrong password always return YES
- getting error as there is at least one open result set around after performing [FMDatabaseQueue inDatabase:]?
- SQLite Database Security and Tampering
- ios FMDB SELECT NOT IN (?)
- Migrating SQLCipher ver. 2.x DB to ver. 3.x using by FMDB
- Why Is This FMDB Enqueue Block Not Executing?
- FMDB syntax error when updating database with join statement
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
SQLite is a binary format, and as such, you won't be able to view it or compile it in Xcode. Instead, you want to make sure it is treated as a resource like images. Make sure it's copied to your resources folder as well.
FMDB + SQLite does UTF-8 just fine- but the Xcode editor isn't the way to view it (you'll have to get at its contents pragmatically).