とりあえずバグだらけなのはおいておいてsourceforge.jp の cvsに import した.
libatokxhack も import
288 static char* sstrLocales = NULL ;
289 static int snstrLocales ;
290
291 if (sstrLocales == NULL) {
292 static const char sstrAtLocal [] = "@locale=" ;
293 register int nNeed ;
294 nNeed = strlen (wgThis->ximServer.m_strLocales) + sizeof (sstrAtLocal) / sizeof (sstrAtLocal [0]) + 1 ;
295 sstrLocales = malloc (nNeed + 1) ;
296 assert (sstrLocales != NULL) ;
297 strcpy (sstrLocales, sstrAtLocal) ;
298 strcat (sstrLocales, wgThis->ximServer.m_strLocales) ;
299 snstrLocales = strlen (sstrLocales) ;
300 }
301 pValue = sstrLocales ;
302 iLength = snstrLocales ;
303 iFormat = 8 ;
304 atTarget = pEvent->target ;
skkinput2 の XIMServer.c より。UTF-8 なロカールの場合自動でサポートできるようにしたいんだけど、どうしたもんか考え中。