Jun 7, 2008

How to disable autocorrect function in iPhone

If you have used the iPhone, you'll see the autocorrect/predict text function is very annoyned (for VNese text)

To disable this,

Edit the file /Applications/Preferences.app/Keyboard.plist and add following line

<dict>

<key>cell</key>

<string>PSSwitchCell</string>

<key>default</key>

<integer>0</integer>

<key>defaults</key>

<string>com.apple.Preferences</string>

<key>key</key>

<string>KeyboardAutocorrection</string>

<key>label</key>

<string>Enable Autocorrection</string>

</dict>

The Keyboard.plist is in binary format, you need to convert it into XML and then edit and then convert it back to binary format. Use the following URL for doing such conversion

- Online: http://iappcat.com/plist/bin2xml

- Offline (need to have PERL): http://scw.us/iPhone/plutil

After all, go to the Keyboard setting and turn off the Autocorrect function.

For iPhone 2.0, you basically rename whatever dictionary file you want to disable the autocorrect function for:

  • start Mobile Terminal (or use SSH)
  • become root using su (the password is alpine)
  • cd /System/Library/TextInput/
  • mv TextInput_en.bundle TextInput_en_bak.bundle (for English)
  • The autocorrect feature for English should now be disabled

Have fun

2 comments:

Brînzei said...

For some reason this does not work anymore in firmware 2.0. The option is active and can be set on/off, but the effect appears to be null. I found no solution yet, other than getting rid of TextInput_en.bundle, which I find kind of drastic, but it works.

Unknown said...

I upgraded my phone to 2.1 at some shop and they took my textInput_en.bundle out for me...

.. but now I want it back.

Can anyone email it to me please? sebranger@gmail.com

Many thanks.