Wednesday, June 02, 2010

Keyboard problem with language other than english in Microsoft Expression Web 3.0

I’m writing HTML pages in french with Microsoft Expression Web 3.0 (xWeb) and I can’t type certain characters like è, ê, or î. For example to produce an è you have to first hit the dead-key ` and than hit the e letter. This works everywhere except in xWeb.

A search in the Expression Web Forum showed me that I’m not the only one :

I was really disappointed to read :

The good news is that we have fixed the bug.  The bad news is that the fix is not in the service pack and will not be available until the next release.

I can’t say that I think this is really professional. Come on guys you could have done better than that. I guess we just have to hope and wait for version 4.0

In the mean time I’ve used the ‘Code snippets’ to help paste the lost characters.

Here’s how to configure and use your codes snippets for french characters :

Close Microsoft Expression Web

Open the the file C:\Users\<username>\AppData\Roaming\Microsoft\Expression\Web 3\Legacy\Expression\Web 3\Snippets\SnippetsCustom.xml

Copy the following XML, paste it in the SnippetsCustom.xml file and save it.

<?xml version="1.0"?>
<!-- Fichier de configuration des extraits de code -->
<snippets><snippet keyword="é">
	<snippet keyword="à">
<snippet keyword="â">
<snippet keyword="Â">
<snippet keyword="À">
<snippet keyword="ç">
<snippet keyword="Ç">
<snippet keyword="é">
<snippet keyword="É">
<snippet keyword="ê">
<snippet keyword="Ê">
<snippet keyword="Ê">
<snippet keyword="è">
<snippet keyword="È">
<snippet keyword="ë">
<snippet keyword="Ë">
<snippet keyword="î">
<snippet keyword="Î">
<snippet keyword="ô">
<snippet keyword="Ô">
<snippet keyword="û">
<snippet keyword="Û">
<snippet keyword="ù">
<snippet keyword="Ù">

Open Expression Web

In the code view hit CTRL + ENTER and choose one of your new snippets.