Bug 146918

Summary: wine and the special characters
Product: [openSUSE] SUSE Linux 10.1 Reporter: Zsolt Papp <zpapp>
Component: X.OrgAssignee: Marcus Meissner <meissner>
Status: RESOLVED WONTFIX QA Contact: Stefan Dirsch <sndirsch>
Severity: Minor    
Priority: P2 - High CC: meissner, sndirsch
Version: Beta 2   
Target Milestone: ---   
Hardware: Other   
OS: SuSE Linux 10.1   
Whiteboard:
Found By: Localization Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: special characters
textutf8.txt
hungarian Xorg symbols file

Description Zsolt Papp 2006-01-31 12:08:39 UTC
Hi,

We found an annoying bug in wine, while using the é, á and ű (and ÉÁŰ) chcaracters. The program running in wine draws ó (and Ó) instead of the above mentioned chars. Every program we tried produced the same problem.
Comment 1 Zsolt Papp 2006-01-31 12:09:55 UTC
Oh sory, i forget to tell, we use Hungarian locale.
Comment 2 Siegfried Olschner 2006-01-31 13:16:36 UTC
Dear screening team, who could be responsible for this bug?
Comment 3 Martin Lasarsch 2006-01-31 13:52:35 UTC
Marcus?
Comment 4 Marcus Meissner 2006-01-31 13:57:14 UTC
yeah, i am the WINE guy...

is it only drawing the incorrect characters or are they incorrectly
input?

Can you try: notepad, input some text , save and check the resulting file?
(if possible)
Comment 5 Zsolt Papp 2006-01-31 14:26:00 UTC
Created attachment 65855 [details]
special characters

They are incorrectly input.
I made a file with notepad. This file should contain the following 2 lines:
öüó?úéá?í
ÖÜÓ?ÚÉÁ?Í
Comment 6 Zsolt Papp 2006-01-31 14:30:23 UTC
and now i can see, the ú and the í is also unavailable.

thanks for the help
Comment 7 Zsolt Papp 2006-01-31 16:05:53 UTC
i tried this in ubuntu. its wine is 0.0.20050725, and contains the same bug.
a customer told us that he can use it in every other system. maybe a more up to date wine?

thanks
Comment 8 Marcus Meissner 2006-01-31 16:30:09 UTC
Created attachment 65884 [details]
textutf8.txt

attachement 1 recoded iso8859-16..utf8
Comment 9 Marcus Meissner 2006-01-31 16:39:28 UTC
what system are these every other systems?

strange though.
Comment 10 Zsolt Papp 2006-01-31 17:27:18 UTC
dunno. he told me something about debian, gentoo, and ubuntu.
i'll tell him its a wine error, not a suse.

thanks again for the help
Comment 11 Zsolt Papp 2006-02-01 15:18:06 UTC
i'v tried it on SLP 9.3. that is not buggy. otherwise it is still a wine issue.
Comment 12 Zsolt Papp 2006-02-09 13:36:48 UTC
Hi!

I tested the old wine (wine-20050211-4) on 10.1 and it is also producing the bug. I think it is rather a xorg config error, or some similar. I tried to configure the keyboard, but cannot solve the problem.
Any idea?

Thanks.
Comment 13 Zsolt Papp 2006-02-09 13:57:21 UTC
And the best:
if I ssh -X to the linux10.1 from an other host running suse9.3 or nld9, and start "wine notepad" it is working, so it is not wine a issue, but it is an xorg issue, I think...

Comment 14 Zsolt Papp 2006-02-10 10:30:14 UTC
Hi!

May I ask who could be responsible for this bug if it is a X.org bug?
Comment 15 Stefan Dirsch 2006-02-13 11:02:55 UTC
At least I can reproduce this now.

# setxkbmap -v hu

Layout: see http://www.hermessoft.com/newproject/keyboards/hungaria.html

éáú / ÉÁÚ works in terminal, but not in notepad. You get the mentioned
ó/Ó instead. Compose doesn't work as well. :-(

At least notepad can show an iso-8859-15 encoded file with these characters,
(broken when encoded in UTF-8). So UTF-8 is another problem for wine/notepad. :-(
Comment 16 Mike Fabian 2006-02-13 16:17:28 UTC
*** Bug 36917 has been marked as a duplicate of this bug. ***
Comment 17 Stefan Dirsch 2006-02-13 16:49:14 UTC
Since umlauts work fine with german keyboard layout (de) and in de_DE.UTF-8 locale, I think this is a hungarian specific keyboard layout problem. Maybe a bug in main_key_HU (dlls/x11drv/keyboard.c)? Although it looks pretty correct
to me.

/*** Hungarian keyboard layout (setxkbmap hu) */
static const char main_key_HU[MAIN_LEN][4] =
{
 "0§","1'~","2\"·","3+^","4!¢","5%0°","6/²","7=`","8(ÿ","9)´","öÖ½","üܨ","óÓ¸",
 "qQ\\","wW|","eE","rR","tT","zZ","uU","iIÍ","oOø","pP","õÕ÷","úÚ×",
 "aA","sSð","dDÐ","fF[","gG]","hH","jJí","kK³","lL£","éÉ$","áÁß","ûÛ¤",
 "yY>","xX#","cC&","vV@","bB{","nN}","mM",",?;",".:>","-_*",
 "íÍ<"
}; 
Comment 18 Marcus Meissner 2006-02-13 16:55:10 UTC
wine does pretty weird stuff with mapping xkeysyms, windows vkeys and ascii back and forth. I don't understand all of it ... :(



notepad opens files in the respective windows codepage, it has no utf-8 detection.
Comment 19 Stefan Dirsch 2006-02-13 17:04:08 UTC
It seems to depend on the font you choose which characters you'll get. :-(
Try with german locale and hungarian keyboard layout. Unfortunately with hungarian locale you won't get any font selection. :-(
Comment 20 Marcus Meissner 2006-03-17 10:46:44 UTC
the problem is also in the notepad saved textfile, so its not just display issue. 

But i have no good ideas. :/
Comment 21 Zsolt Papp 2006-03-17 13:23:06 UTC
The problem is in Xorg, we can experience the same in in every wine version, and even cxoffice. Cxoffice is pretty unusable on suse 10.0.
Comment 22 Stefan Dirsch 2006-03-19 09:20:39 UTC
> The problem is in Xorg, we can experience the same in in every wine version,
> and even cxoffice.
Odd conclusion.
Comment 23 Zsolt Papp 2006-03-20 11:59:56 UTC
Ok, I found something.
If I replace the /etc/X11/xkb/symbols/hu file in spl10 with the same file in slp93 then the special characters gets working again, but some simple chars (like 'e') disappears. So it is a simple misconfiguration issue. I think I cannot fix this file.
Comment 24 Stefan Dirsch 2006-03-20 12:04:18 UTC
Could you attach your slp93 hu file? Thanks.
Comment 25 Zsolt Papp 2006-03-20 12:07:25 UTC
Created attachment 73954 [details]
hungarian Xorg symbols file
Comment 26 Marcus Meissner 2007-01-26 17:45:49 UTC
wonder if this is still current.

there is not much I can do.
Comment 27 Zsolt Papp 2007-01-29 18:14:30 UTC
I think openSUSE 10.2 obsoletes this bug. Unfortunatelly I dont have time to test it. I will reopen this bug if it is still present. Sorry, I forget about this bug... Thanks anyway.
Comment 28 Stephan Kulow 2008-06-25 09:35:04 UTC
mass reopening all SuSE Linux bugs that are set to REMIND+LATER to change the resolution to WONTFIX (adapting to new policy)
Comment 29 Stephan Kulow 2008-06-25 09:37:07 UTC
mass reopening all SuSE Linux bugs that are set to REMIND+LATER to change the resolution to WONTFIX (adapting to new policy)
Comment 30 Stephan Kulow 2008-06-25 09:42:00 UTC
mass reopening all SuSE Linux bugs that are set to REMIND+LATER to change the resolution to WONTFIX (adapting to new policy)
Comment 31 Stephan Kulow 2008-06-25 09:53:23 UTC
Closing old LATER+REMIND bugs as WONTFIX - if you still plan to work on it, feel free to reopen and set to ASSIGNED.

In case the report saw repeated reopen comments, it's due to bugzilla timing out on the huge request ;(