You're not the one out of sequence, and that's the Word

by Michael S. Kaplan, published on 2007/03/05 03:01 -05:00, original URI: http://blogs.msdn.com/b/michkap/archive/2007/03/05/1807683.aspx


(Apologies for the Colbert reference!) 

It all started with a post from Pavanaja U B over in the microsoft.public.word.international.features newsgroup:

I am facing this peculiar problem in Word 2007 and Vista. When I use the
built-in Kannada keyboard layout of Vista in Word 2007, the Ctrl-Shift-1
and Ctrl-Shift-2 keys which are used for ZWJ and ZWNJ are not working.
But the same keys are working fine when I use with Notepad or Wordpad in
Vista. What is happening?

Now you all know how often I like to complain about that Word bug that causes it to override important letters with its "helpful" shortcuts, right?

Well, that is not the cause of this particular bug.

Though it is my automatic answer in such cases since is the cause of most similar bugs.

In any case, I momentarily felt bad, having blamed Word for a bug that was not their fault.

I needn't have worried though, it is still Word's fault, just for a different reason. :-(

This one is caused by a little-known "feature" in Word known as sequence checking. Although intended to provide additional validation of character sequences, it apparently is considering some completely legal and desirable sequences to be invalid....

According to Help, the feature is described as (along with the related "Type and Replace" feature):

Use sequence checking  Select this option to validate whether a newly typed character occurs in the correct sequence to be used as a tone mark, diacritic, or vowel to be placed above, below, in front of, or behind the consonant it goes with.

Note   This option is available only if a complex script language is enabled for editing text.

Type and replace Select this option to replace the previously typed character with the newly typed character if the two characters cannot coexist in the same text cluster.

Now to me, at this point, the most important thing about this feature is turning it off. In Word 2007, it is at:

    Office Button | Word Options | Advanced | Editing Options | Use Sequence Checking - off 

Here is what the dialog looks like:

and if you don't see it, that means you have to turn on a complex script language in the Office Language Settings Tool (a language such as Kannada will do the trick):

And please don't get me started about how this means that even though Complex Scripts are on by default in Vista, they are not on in Office unless you go through a bunch of not entirely intuitive steps.

I am at least 27% convinced Office won't meddle so much if you don't turn on that editing in Office! :-(

 

This post brought to you by U+200d, a.k.a. ZERO WIDTH JOINER


# Pavanaja U B on 5 Mar 2007 9:31 AM:

Oh! I have been MichKapped :), if at all there is anything like that :)

Regards,

Pavanaja

# Pavanaja U B on 5 Mar 2007 9:36 AM:

Interestingly, the Crtl-Shift-1 and 2 keys for ZWJ and ZWNJ do work properly for Hindi even if the sequence checking setting is checked on.  Why the behaviour should be different for Hindi and Kannada? The very prupose of PR-37 of Unicode consortium was to make the behaviour of ZWJ and ZWNJ same (similar) across all Indic scripts. Now the behaviour of IMEs are (made) different!

Regards,

Pavanaja

# Michael S. Kaplan on 5 Mar 2007 10:09 AM:

Well, it is not technically an IME, it's just a boring old keyboard -- and this is 100% pure Word bug with the app doing special handling of input -- and doing it badly....

If you're bored, you can really play with it -- do things like putting the Hindi keyboard under the Kannada language to see if it messes that up to. Or you can do what I did and turn off the sequence checking. :-)

# Michael Dunn_ on 5 Mar 2007 11:21 AM:

You should never apologize for referencing the great Dr. Stephen T. Colbert D.F.A. :)

# Michael S. Kaplan on 5 Mar 2007 11:27 AM:

But Mike, would he agree? I mean, since I used it for a cheap pun? :-)

# Rosyna on 5 Mar 2007 2:14 PM:

What decides the mnemonics used for the various checkboxes? Like Alt+E for "Use smart cursoring" (What is cursoring, is that a word?) But how does it come to take the "e" from "Use"?

Also, "Languages labeled with limited support require additional support." That's a funny phrase.

# Shelby Eaton on 8 Mar 2007 10:39 PM:

So is this setting why my "smart quotes" turn into Unicode characters when I type in Outlook? I tried a bunch of stuff (like removing auto-detection of language as I type) but finally just gave up and turned off smart quotes. :-)

# Michael S. Kaplan on 8 Mar 2007 11:08 PM:

Yep, this is the one.

I think we'll have to wait for "Smarter Quotes" to turn it back on again....

sisigi on 20 Aug 2008 1:48 PM:

it makes trouble only


Please consider a donation to keep this archive running, maintained and free of advertising.
Donate €20 or more to receive an offline copy of the whole archive including all images.

referenced by

2013/03/27 Microsoft Word: 15 --- Microsoft Windows: 15

2010/12/20 Short-sighted text processing #2: Getting hurt while playing on the bleeding edge

2010/05/19 What's the Word on interference in typing from Word?

2009/07/22 The Letter Police can EAT MY SHORTS!

2008/11/06 Being smart, by not trying to be clever

2007/03/09 But is it mnemonical?

go to newer or older post, or back to index or month or day