Added extension modes 4-7 with character set options

Change-Id: I8069d05152b71d85265b7513965ba971811dbf5c