Bug 14179 - Impossible to enter international characters like יטאסףםבאלעתש�ךפמ...etc in textareas
Summary: Impossible to enter international characters like יטאסףםבאלעתש�ךפמ...etc in t...
Status: RESOLVED DUPLICATE of bug 14562
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 523.x (Safari 3)
Hardware: PC Windows XP
: P1 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2007-06-15 15:42 PDT by Bertrand Presles
Modified: 2007-08-27 07:35 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bertrand Presles 2007-06-15 15:42:40 PDT
It's a bit different than the bug I filled for the Mac version, even if it may have the same cause.

In the Windows version, it seems that it affects only textarea, I mean at least with testfields it works. And the bug behavior is a bit different, as when typing the international characters like "é" are well displayed, but when submiting, it subtmiting only the text until the first international character.

For example, if I submit that text with Safari on Windows: 

"Les éléphants d'afrique aiment l'eau"

the text submitted will be:

"Les "

This has been reproduced on Safari 3.01 official build, as well ws latest nightly build r23540.
Comment 1 Mark Rowe (bdash) 2007-06-15 23:35:16 PDT
<rdar://problem/5274075>
Comment 2 David Kilzer (:ddkilzer) 2007-06-16 09:44:46 PDT
I presume this is fixed by removing/disabling Saft as well, like Bug 14178 Comment #7?

Comment 3 Mark Rowe (bdash) 2007-06-16 10:04:16 PDT
This bug deals with Safari on Windows, so I don't think Saft is relevant.
Comment 4 frank goossens 2007-06-16 10:07:14 PDT
very similar to what i encountered, except i had the problem using '[[', ']]', '\\', ... see http://bugs.webkit.org/show_bug.cgi?id=14165
Comment 5 Bertrand Presles 2007-06-16 16:51:47 PDT
(In reply to comment #2)
> I presume this is fixed by removing/disabling Saft as well, like Bug 14178
> Comment #7?
> 

No in this case I use Safari for Windows without any addon/hack, and Saft doesn't exist on Windows anyway, and the bug is a bit different, the characters appears while I type, but the text typed isn't submitted correctly when submitting the form (see the description on my first comment). This bugs doesn't appear on Safari for Mac, it's a Windows version specific bug.

It seems indeed similar (and may have the same cause) than what describe Frank.
Comment 6 frank goossens 2007-06-20 13:26:19 PDT
cfr. bug 14165; changing keyboard layout to "US" instead of "dutch (belgian)" seems to make the bug disappear?
Comment 7 Bertrand Presles 2007-06-21 14:55:26 PDT
(In reply to comment #6)
> cfr. bug 14165; changing keyboard layout to "US" instead of "dutch (belgian)"
> seems to make the bug disappear?
> 

With the latest nightly build, I can't even try to enter an é, this make Safari crash literally. This being with an US keyboard layout or not.
Comment 8 Victor Jalencas 2007-06-21 14:57:56 PDT
I can confirm that the textarea content is only submitted up to the first accented character or square bracket, on a Windows XP with Spanish localization.

Not only that, on realizing that I was about to loose a blog entry that I was editing in Safari, I hit back and tried to copy the text to paste it into a local text editor. The clipboard content, however, only got pasted again up to the first accented character or square bracket, so I had to copy the text in blocks avoiding the special characters.
Comment 9 Alexey Proskuryakov 2007-06-22 03:15:51 PDT
(In reply to comment #7)
> With the latest nightly build, I can't even try to enter an é, this make Safari
> crash literally. This being with an US keyboard layout or not.

Could you please describe how you are typing the é character? I've tried copying it from Character Map application, and it seems to work fine. OTOH, Alt+0233 doesn't produce any character for me.

I'm testing at <http://babelfish.altavista.com>; U.S. English Windows XP with primary Russian locale.
Comment 10 Bertrand Presles 2007-06-22 04:49:43 PDT
(In reply to comment #9)
> Could you please describe how you are typing the é character?

I'm typing it using Command+E with the US layout. Or the appropriate keys for others layout.

I will test the copy of the character from another app too ASAP and report the result to you. But it's still a very high handicap to not being able to enter it with the keyboard directly in the form :)
Comment 11 Bertrand Presles 2007-06-22 04:59:05 PDT
(In reply to comment #10)
> I'm typing it using Command+E with the US layout. Or the appropriate keys for
> others layout.
> 

Ooops I just realize that it did work because I'm testing Safari with Parallels on MacOS X, it seems that I used the usual Option (Apple key) + E and that Parallels did the work. But of course it doesn't work on real Windows machine...

But you can also reproduce the bug passing the layout to French (setting it on regional settings) and pressing the '2' key of your US keybaord (the '2' key that is above the letters, not the one in the numeric pad).
Comment 12 Bertrand Presles 2007-06-22 15:23:24 PDT
A little information, it seems that it doesn't crash everywhere, I tried on Babelfish, and it didn't make it crash, but still the submission was wrong (submit only the part before the first special character like é).
It crash on the search field of Google.com for example, whenever you type a special character like é.

Also I confirm indeed that pasting from another application (I used the Notepad) the special characters does work and they are submitted properly in that case. Even if using this techniques on the Google.com search field does still make Safari crash.

All the above was tested with latest Nightly build of Webkit.
Comment 13 Bertrand Presles 2007-06-23 00:29:22 PDT
A little update, apparently the latest 3.0.2 updates fix the bug, so I guess it was anothe Kit issue
Comment 14 Bertrand Presles 2007-06-23 00:33:55 PDT
A little update in fact, it does work for textfield, but apparently not for textareas, here a demo:

This text should be truncated: Hello I like Spain, and it's said in spanish: Me gusta España.
Comment 15 Bertrand Presles 2007-06-23 00:37:33 PDT
(In reply to comment #14)
> This text should be truncated: Hello I like Spain, and it's said in spanish: Me
> gusta España.

Hmm in fact very strange, it worked... While in babelfish typing the following (the end is "Les elephant aiment l'eau" with acute accent on the both e of elephant), didn't work:

"At the end it seems that the latest updates didn't fix the problem entirely, I guess it was another Kit issue (CoreFoundation?).

A little test to confirm that:

Les 
Comment 16 Alexey Proskuryakov 2007-06-23 00:57:44 PDT
I still cannot properly reproduce this bug: everything works correctly with French layout in Windows and the "2" key, and Option+e simply opens Safari's Edit menu with my version of Parallels.

However, I've found a way to produce bad input, at least under Parallels. With U.S. keyboard layout, I press Cmd+e (which opens a context menu), then Esc. This produces an invisible character, followed by e.

Testing with Safari beta 3.0.2.
Comment 17 Bertrand Presles 2007-06-23 04:45:35 PDT
(In reply to comment #16)
> I still cannot properly reproduce this bug: everything works correctly with
> French layout in Windows and the "2" key

I don't know what do you mean by everything works correctly, but I would like to remind you what is the bug and what is not:

- The bug is not that the letters like é can't be typing, they indeed can be correctly (i.e: They appear on the textarea correctly)
- The bug is limited to TestAreas (like the one used on this form to submit comments).
- The bug is that the text after the special character like é, this character included.

So for example if I type: "Les éléphants aiment l'eau", using french keyboard layout on a textarea like this one, after submission, the text will appear as: "Les ".

Just try to type this sentence (Do not copy/paste it!) in a comment on this bug report: "Les éléphants aiment l'eau", using a french keyboard layout with the "2" key of your US keyboard. And then submit it, if your comment after submition appears as "Les ", is that you've reproduced the bug.
Comment 18 Bertrand Presles 2007-06-23 04:47:43 PDT
(In reply to comment #17)
> - The bug is that the text after the special character like é, this character
> included.
> 

I meant:

- The bug is that the text after the special character like é, this character
included, is not submitted (the submitted text is only the part before the é character)
Comment 19 Alexey Proskuryakov 2007-06-23 07:20:05 PDT
(In reply to comment #17)
> I don't know what do you mean by everything works correctly, but I would like
> to remind you what is the bug and what is not:

<skipped>

I do remember that, thanks. Clearly, this bug depends on some unknown-yet parameters (such as maybe the version of Parallels, Windows version and localization etc.). Thus, the alternative steps to reproduce I described in comment 16 might help to get it fixed.
Comment 20 Bertrand Presles 2007-06-23 08:17:44 PDT
(In reply to comment #19)
> Clearly, this bug depends on some unknown-yet
> parameters (such as maybe the version of Parallels, Windows version and
> localization etc.). 

It seems that at least it has nothing to do with Parallels, as I've just seen a post on Apple discussion forum of someone having the same exact issue (typing portuguese words with accents), who is using a real PC (Athlon 64) but with its Windows XP in Portuguese. See here: http://discussions.apple.com/thread.jspa?threadID=1008179&tstart=0

And according to this site, this bug is also reported in <rdar://problem/5269732>
Comment 21 frank goossens 2007-08-27 06:53:45 PDT
for those that are not testing nightly builds, this seems fixed (more info in http://bugs.webkit.org/show_bug.cgi?id=14562).
Comment 22 David Kilzer (:ddkilzer) 2007-08-27 07:35:13 PDT

*** This bug has been marked as a duplicate of 14562 ***