Once you get the new iOS 11 update on your iPhone take these steps to fix the "i" glitch!
Go to Settings>General>Keyboard>Text Replacement. Tap the plus sign in the upper right. Then to finish it off: type an upper-case "I" in the Phrase box, and a lower-case "i" in the Shortcut one.