Modify

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#10786 closed defect (othersoftware)

Accentued characters are lost (on Mac OS X with french keyboard layout)

Reported by: pyrog Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: macosx accentuated characters webstart javabug Cc: Stereo, cquest

Description

Build-Date: 2014-10-21 19:23:06
Revision: 7643

"Chemin des Primevères" become "Chemin des Primevres"

Work fine on Windows

Revision 7642 Work fine on Mac
Build-Date: 2014-10-21 19:06:40
Revision: 7642

Attachments (0)

Change History (10)

comment:1 Changed 6 years ago by Don-vip

Owner: changed from team to pyrog
Status: newneedinfo

What do you mean are lost? Can you please elaborate, provide a use case, a screenshot? Please also attach your status report as explicitely asked in French on newticket.

comment:2 Changed 6 years ago by pyrog

What steps will reproduce the problem?

  1. For example, add the tag name to an object
  2. add the value abcdef 'éèàç

What is the expected result?

abcdef 'éèàç

What happens instead?

abcdef

Please provide any additional information below. Attach a screenshot if possible.

If I use cut and paste, it's fine
But if type a diacritic key umlaut or caret for example, then the keyboard is "locked" : no other keys could be inserted in the field (I should close an then reopen the box)

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2014-10-21 19:23:06
Last Changed Author: Don-vip
Revision: 7643
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Relative URL: ^/trunk
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2014-10-21 21:19:16 +0200 (Tue, 21 Oct 2014)
Last Changed Rev: 7643

Identification: JOSM/1.5 (7643 fr) Mac OS X 10.10.1
Memory Usage: 254 MB / 910 MB (63 MB allocated, but free)
Java version: 1.7.0_71, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
VM arguments: [-Djava.util.Arrays.useLegacyMergeSort=true, -Djnlp.application.href=https://josm.openstreetmap.de/download/josm.jnlp, -Djnlpx.vmargs=LURqYXZhLnV0aWwuQXJyYXlzLnVzZUxlZ2FjeU1lcmdlU29ydD10cnVlAC1Eam5scC5hcHBsaWNhdGlvbi5ocmVmPWh0dHBzOi8vam9zbS5vcGVuc3RyZWV0bWFwLmRlL2Rvd25sb2FkL2pvc20uam5scAAtRGphdmEuY2xhc3MucGF0aD0vVXNlcnMveHgvanl0aG9uMi41LjMvanl0aG9uLmphcgA=, -Djnlpx.jvm=<java.home>/bin/java, -Djnlpx.splashport=-1, -Djnlpx.home=<java.home>/bin, -Djnlpx.remove=false, -Djnlpx.offline=false, -Djnlpx.relaunch=true, -Djnlpx.session.data=/var/folders/yk/v8lzfbt522j7jc4137l070140000gn/T/session2862588347213695310, -Djnlpx.heapsize=NULL,NULL, -Djava.security.policy=file:/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/security/javaws.policy, -DtrustProxy=true, -Dsun.awt.warmup=true, -Djava.security.manager]
Dataset consistency test: No problems found

Plugins:
- ImageWayPoint (30737)
- OpeningHoursEditor (30737)
- PicLayer (30762)
- cadastre-fr (30762)
- geotools (30762)
- gpxfilter (30738)
- imagery_offset_db (30762)
- jts (30762)
- measurement (30737)
- notes (v0.9.5)
- opendata (30762)
- reverter (30737)
- scripting (30702)
- tag2link (30719)
- undelete (30762)
- utilsplugin2 (30762)
- wikipedia (30780)

Last errors/warnings:
- W: Could not get presets icon Icon_raa.png
- E: Impossible de trouver l'image "Icon_npu.png"
- W: Could not get presets icon Icon_npu.png
- E: Impossible de trouver l'image "Icon_uzkb.png"
- W: Could not get presets icon Icon_uzkb.png

comment:3 Changed 6 years ago by Don-vip

Cc: Stereo cquest added
Keywords: macosx accentuated characters added
Owner: changed from pyrog to team
Status: needinfonew

OK. Stereo, cquest, do you reproduce this as well? Can someone test with Java 8u25?

comment:4 Changed 6 years ago by Stereo

I can't reproduce the problem. There was something strange like this in the past, but I can't reproduce it on 7643 with 8u25 with both keyboards with the accented letters directly on the key (fr_FR, fr_CH), and the accents done through combinations (US, dvorak).

Pyrog, I would definitely suggest trying Java 8u25 to see if it solves the problem.

comment:5 Changed 6 years ago by pyrog

Pyrog, I would definitely suggest trying Java 8u25 to see if it solves the problem.

Bug is still there with Java 8u25

Identification: JOSM/1.5 (7643 fr) Mac OS X 10.10.1
Memory Usage: 428 MB / 910 MB (96 MB allocated, but free)
Java version: 1.8.0_25, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
VM arguments: [-Djava.util.Arrays.useLegacyMergeSort=true, -Djnlp.application.href=https://josm.openstreetmap.de/download/josm.jnlp, -Djnlpx.vmargs=LURqYXZhLnV0aWwuQXJyYXlzLnVzZUxlZ2FjeU1lcmdlU29ydD10cnVlAC1Eam5scC5hcHBsaWNhdGlvbi5ocmVmPWh0dHBzOi8vam9zbS5vcGVuc3RyZWV0bWFwLmRlL2Rvd25sb2FkL2pvc20uam5scAAtRGphdmEuY2xhc3MucGF0aD0vVXNlcnMveHgvanl0aG9uMi41LjMvanl0aG9uLmphcgA=, -Djnlpx.jvm=<java.home>/bin/java, -Djnlpx.splashport=-1, -Djnlpx.home=<java.home>/bin, -Djnlpx.remove=false, -Djnlpx.offline=false, -Djnlpx.relaunch=true, -Djnlpx.session.data=/var/folders/yk/v8lzfbt522j7jc4137l070140000gn/T/session1867639862691183285, -Djnlpx.heapsize=NULL,NULL, -Djava.security.policy=file:/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/security/javaws.policy, -DtrustProxy=true, -Dsun.awt.warmup=true, -Djava.security.manager]
Dataset consistency test: No problems found

comment:6 Changed 6 years ago by Don-vip

Maybe this is due to webstart. Can you please try the osx package?

comment:7 Changed 6 years ago by pyrog

Maybe this is due to webstart. Can you please try the osx package?

Work fine now, thank a lot :)

What should I do with the JNLP ?

comment:8 Changed 6 years ago by Don-vip

Keywords: webstart javabug added
Resolution: othersoftware
Status: newclosed

Nothing. I have submitted a bug report to Oracle, thanks for your help. If it gets accepted it will be available here:

https://bugs.openjdk.java.net/browse/JI-9017049

comment:9 Changed 6 years ago by pleclercq@…

Hi. I've the same trouble : my application works with Mac OS ans Java 1.6 but since Java 1.7 on Mac OS X the accentued characters are lost.

To find the solution, I follow this steps :
1) I try to run "How to Use Text Fields" (http://docs.oracle.com/javase/tutorial/uiswing/components/textfield.html). Incredible : accentued characters are OK !!!!
2) I compare the TextDemo.jnlp with my own jnlp file and I notice that TextDemo.jnlp is uft-8 encoding and mine is ISO-8859-1.
3) I encode my own jnlp file and accentued characters are OK !!!!

So now I'm OK.

I hope it will help you.

comment:10 Changed 6 years ago by Don-vip

our JNLP file is already encoded in UTF-8: source:trunk/josm.jnlp

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.