Author Topic: Inputkeys textentry doesn't put out swedish characters correctly  (Read 2971 times)

0 Members and 2 Guests are viewing this topic.

Voxy

  • Jr. Member
  • **
  • Posts: 13
  • Karma: 1
    • View Profile
Hi!

I'm trying to use google speech to dictate in swedish but Inputkeys textentry doesn't output swedish characters correctly.

How do I get Inputkeys textentry to put out swedish characters correctly?

The swedish characters shows up correctly in command history window after InputKeys.TextEntry:

But get exchanged for questions marks when output in Notepad:

l?sa p? ?ken

When using System.SetClipboardText the swedish characters shows correctly when pasted from clipboard.

Could it be fixed by somehow changing the characterset encoding or how can I get the swedish characters to be typed out correctly?

Grateful for help.
« Last Edit: April 03, 2023, 12:41:00 PM by Voxy »

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Inputkeys textentry doesn't put out swedish characters correctly
« Reply #1 on: April 05, 2023, 03:59:58 PM »
I don't know if it's possible to do this with the keyboard emulation I am using in VC.

Why don't you try to use SetClipboardText and paste using keyboard emulation of Ctrl-V

Voxy

  • Jr. Member
  • **
  • Posts: 13
  • Karma: 1
    • View Profile
Re: Inputkeys textentry doesn't put out swedish characters correctly
« Reply #2 on: April 05, 2023, 04:34:14 PM »
Ok.

If I go via the clipboard I loose what's in the clipboard every time I dictate.

And I often use the clipboard and dictation at the same time like when editing/creating a document;

Dictating - cut or copy - dictating more - paste...



jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Inputkeys textentry doesn't put out swedish characters correctly
« Reply #3 on: April 05, 2023, 05:22:05 PM »
It might be a bit clunky, but you could always make a backup of the clipboard contents first and then restore them after you paste.

It might turn into a mess, or you never know, it might just work perfectly.