DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Foreign Language Paste  (Read 9,911 times)

drgt

  • Participant
  • Joined in 2015
  • *
  • Posts: 13
Foreign Language Paste
« on: December 27, 2017, 12:18 PM »
Hi
When pasting a clip caught in foreign language, the actual paste is gibberish, even though the clip shows correctly in the app UI.

rgdot

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 2,197
Re: Foreign Language Paste
« Reply #1 on: December 27, 2017, 02:37 PM »
C H+S is not unicode, as far as I know it needs a big change to be so.

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,970
    • Gathering Badge
    • Participated in NANY Challenge Once
Re: Foreign Language Paste
« Reply #2 on: December 27, 2017, 05:08 PM »
C H+S is not unicode, as far as I know it needs a big change to be so.

@drgt:
Windows clipboard is unicode, so the last clip you copied will (normally) be correct -- whether pasted via CHS or not, but as soon as you copy another clip it will no longer display many non-English letters accents etc. correctly.
Tom

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Foreign Language Paste
« Reply #3 on: December 27, 2017, 05:32 PM »
What they said.

drgt

  • Participant
  • Joined in 2015
  • *
  • Posts: 13
Foreign Language Paste
« Reply #4 on: December 27, 2017, 06:33 PM »
Thank you guys!
Expect any changes regarding that?

Happy holidays.

IainB

  • @Slartibartfarst
  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 7,544
Re: Foreign Language Paste zealous
« Reply #5 on: December 28, 2017, 01:16 AM »
...but as soon as you copy another clip it will no longer display many non-English letters accents etc. correctly
There's a curious non-problematic minor "bug" in CHS that probably does some of what seems to be required here - but it is transient. I noticed it and reported it to @mouser some time back. I think he may have "fixed" it to some extent - not that it was in the way or really needed a fix though. However, under certain conditions (I can't deliberately replicate them), the bug reappears. It has been manifesting itself quite a lot recently. It seems to be usually preceded by my having done a lot of clips/pastes, and is noticeable just after I have copied the contents of an entry of the COD (Concise Oxford Dictionary) into the Clipboard.
The bug manifests by displaying odd behaviour and the RTF/Unicode in the clip text in the CHS Memo pane - including, for example:
  • the colours blue and red used for some words by COD,
  • some bold, italic and different fonts/sizes,
  • special characters (there are often some of these in each COD entry, as accents and phonetic symbols), and
  • the text in the Memo pane itself becomes zoomable with the mouse - e.g., like the image in the Image tab of a Memo pane in CHS is zoomable.

I had said "I would like more of that please!" (OWTTE), but it's apparently not in the design/development plan, and is thus apparently correctly regarded as a "bug" - probably for reasons as described above and elsewhere.    :(

CHS still rules though!  :Thmbsup:  (In my armory of information management tools, at any rate.)
« Last Edit: December 28, 2017, 01:24 AM by IainB »

tabletguy

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 45
Re: Foreign Language Paste
« Reply #6 on: January 09, 2018, 07:31 AM »
Can you please update the program to support Unicode (foreign languages)?

Is the source code available? Maybe I could look at it.

IainB

  • @Slartibartfarst
  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 7,544
Re: Foreign Language Paste
« Reply #7 on: February 23, 2018, 04:55 AM »
...Is the source code available? Maybe I could look at it.
An offer hard to refuse? ...

Original address: https://www.donationcoder.com/forum/index.php?topic=44823.0