Submitted by Armando on 2010/02/06 12:15
I'm asking because :
 
1- if I copy/paste anything, using any method, the content of a cell, without going into edit mode, some accents will get replaced by weird character combinations in the grid.
 
2- if I copy/paste the content of a cell, but using edit mode : everything is ok.
 
 
 
 
anybody else ?
 
(this is related to the other thread where I  tried to copy XML as TLI : Can't copy or paste items : XML or tab delimited or anything else.)

Comments

Hi Armando
 
It's a Unicode incompatibility of some kind.
 
I searched Google for "probleme" (sic) to work up some accented French to paste in. Drupal handles it smoothly; here it is:
  
Un problème dans son acception la plus courante, est une situation dans laquelle un obstacle empêche de progresser, d'avancer ou de réaliser ce que l'on

This phrase pastes neatly into IQ's HTML pane. In a grid, in native (?) mode, you'll get this:

Un problème dans son acception la plus courante, est une situation dans laquelle un obstacle empêche de progresser, d'avancer ou de réaliser ce que l'on

Edit mode is no salvation here; you get the same characters, with visible HTML codes.

Un <em>problème</em> dans son acception la plus courante, est une
situation dans laquelle un obstacle empêche de progresser, d'avancer ou
de réaliser ce que l'on


However, there's an option that seems to bring the Unicode in cleanly. The Popup Editor on Shift-F2:

Un problème dans son acception la plus courante, est une situation dans laquelle un obstacle empêche de progresser, d'avancer ou de réaliser ce que l'on

I'm fairly sure Pierre's working on the "Paste Special" for PreRel17 to solve this. Meanwhile we've got the problème, the video, some test data and a workaround.

Jerome

Armando

2010/02/06 13:27

In reply to by JJSlote

[quote=JJSlote]
Hi Armando
 
It's a Unicode incompatibility of some kind.
 
I searched Google for "probleme" (sic) to work up some accented French to paste in. Drupal handles it smoothly; here it is:
  
Un problème dans son acception la plus courante, est une situation dans laquelle un obstacle empêche de progresser, d'avancer ou de réaliser ce que l'on

This phrase pastes neatly into IQ's HTML pane. In a grid, in native (?) mode, you'll get this:

Un problème dans son acception la plus courante, est une situation dans laquelle un obstacle empêche de progresser, d'avancer ou de réaliser ce que l'on

Edit mode is no salvation here; you get the same characters, with visible HTML codes.

Un <em>problème</em> dans son acception la plus courante, est une
situation dans laquelle un obstacle empêche de progresser, d'avancer ou
de réaliser ce que l'on


However, there's an option that seems to bring the Unicode in cleanly. The Popup Editor on Shift-F2:

Un problème dans son acception la plus courante, est une situation dans laquelle un obstacle empêche de progresser, d'avancer ou de réaliser ce que l'on

I'm fairly sure Pierre's working on the "Paste Special" for PreRel17 to solve this. Meanwhile we've got the problème, the video, some test data and a workaround.

Jerome

[/quote]
 
 
Thanks Jerome and Tom.
Yes Jerome, that's it. F2 or shift F2 (edit mode) works but... I can't use F2 or shift F2 as I need to copy entire trees of items.
 
I actually needed to do that yesterday, and did. Only to notice much later that all accents were wrongly coded. Oops.
 
I first thought it was a problem on my part and so checked windows character sets settings to make sure nothing changed in the last few days. I then checked IE options, etc. and concluded it was probably something wrong with IQ.
 

All copy/paste related issues are now resolved as I default to the previous text copy. HTML copy is another menu item and yes, there seems to be some character encoding issue to fix there too.
 
I'm off to skiing tomorrow, but I'll try to complete 0.9.25pre-rel17 sometime on monday.
 
pre-rel16 was not the best of the bunch, sorry about that...