I don't know if this can help: 1. «dumpkeys > output.txt». The output.txt file is in ISO, not in UTF-8. 2. «recode latin9..utf8 output.txt». This convert the output.txt file into UTF-8 coding. 3. I try then «loadkeys output.txt», but I got a «syntax error» in the line which the «compose» lines begins.
It seems that the loadkeys command doesn't supports a file codified in UTF-8. I noticed that the command «dumpkeys --help» shows the following output: available charsets: iso-8859-{1,2,3,4,5,7,8,9,10,15},koi8-{r,u},mazovia,cp-1250,iso-10646-18,iso-ir-197,iso-ir-209 There's no UTF-8 there. Maybe the solution could be to recode the «loadkeys» file to understand the compose keys in UTF-8...