Community Discussions and Support
Partial conversion to quoted printables

Thanks Martin, your thoughts made me rethink this again and I found the issue behind it - on Windows 8.1 I had input language set to English with my local keyboard layout. When I changed it to my language (with my local keyboard layout), Pmail started interpreting keystrokes fine.

The reason why it worked on Windows 7 is that I have input language set to English with English keyboard layout - so I could not input international characters even if I wanted to (while having this language preference selected). Default setting is my language with my keyboard so it all worked fine.

I am changing selected language preference via "language bar" on taskbar. It shows only input language (e.g. "EN" on Win7 and "ENG" on Win8) not the keyboard so that is why I did not see it.

The question is why is this working fine in Notepad or Word and not in Pmail?
I should be able to select any input language and keyboard combination and get the correct result (as I do in other apps).
Seems Pmail is converting keystrokes based on Input Language while it should not.

So, for anyone else bumping into this issue - make sure the Input Language matches Keyboard Layout else Pmail will over-recode international characters.

Thank you all for jumping in! Without you I would still be bumping my head :)  I owe you a

<p>Thanks Martin, your thoughts made me rethink this again and I found the issue behind it - on Windows 8.1 I had input language set to English with my <b>local keyboard layout</b>. When I changed it to my language (with my local keyboard layout), Pmail started interpreting keystrokes fine. </p><p>The reason why it worked on Windows 7 is that I have input language set to English with English keyboard layout - so I could not input international characters even if I wanted to (while having this language preference selected). Default setting is my language with my keyboard so it all worked fine. </p><p>I am changing selected language preference via "language bar" on taskbar. It shows only input language (e.g. "EN" on Win7 and "ENG" on Win8) not the keyboard so that is why I did not see it.</p><p>The question is why is this working fine in Notepad or Word and not in Pmail? I should be able to select any input language and keyboard combination and get the correct result (as I do in other apps). Seems Pmail is converting keystrokes based on Input Language while it should not. </p><p>So, for anyone else bumping into this issue - <b>make sure the Input Language matches Keyboard Layout else Pmail will over-recode international characters.</b> </p><p>Thank you all for jumping in! Without you I would still be bumping my head :)  I owe you a [B]</p>

Hello!

I have recently installed Pmail on a new Win8.1 system and it works just like the one on Win7 I have but with one exception - some of international characters do not get converted to quoted printables.

I made sure the configuration is same on both PCs (as far as I can tell), down to pmail.ini details. The only difference is location of the mailbox. The Windows setting for "Language for non-Unicode programs" is the same too.

So, for this bunch of characters

Test: -šđč枊ĐČĆŽ-

 on Win7 Pmail sends

Test: -=B9=F0=E8=E6=BE=A9=D0=C8=C6=AE-

but on Win8 Pmail sends

Test: -=B9d`eae=BE=A9D`EAE=AE-

 

Does anyone know what is behind this, please?

 

<p>Hello!</p><p>I have recently installed Pmail on a new Win8.1 system and it works just like the one on Win7 I have but with one exception - some of international characters do not get converted to quoted printables.</p><p>I made sure the configuration is same on both PCs (as far as I can tell), down to pmail.ini details. The only difference is location of the mailbox. The Windows setting for "Language for non-Unicode programs" is the same too. </p><p>So, for this bunch of characters</p><blockquote><p>Test: -šđč枊ĐČĆŽ-</p></blockquote><p> on Win7 Pmail sends</p><blockquote><p>Test: -=B9=F0=E8=E6=BE=A9=D0=C8=C6=AE- </p></blockquote><p>but on Win8 Pmail sends</p><blockquote><p>Test: -=B9d`eae=BE=A9D`EAE=AE- </p></blockquote><p> </p><p>Does anyone know what is behind this, please? </p><p> </p>

Quick thought (I do not run Win8.1) is the control panel Language and Fonts set the same?

Know you checked the Language for Non-Unicode, wondering as to the default.

<p>Quick thought (I do not run Win8.1) is the control panel Language and Fonts set the same?</p><p>Know you checked the Language for Non-Unicode, wondering as to the default.</p>

What's your default charset on Tools => Options => Advanced settings in Pegasus Mail?

What's your default charset on <i>Tools => Options => Advanced settings</i> in Pegasus Mail?
			Michael
--
IERenderer's Homepage
PGP Key ID (RSA 2048): 0xC45D831B
S/MIME Fingerprint: 94C6B471 0C623088 A5B27701 742B8666 3B7E657C

@aderoy

Language settings are the same (English (united States)).

I am not sure what you mean by Fonts setting in Control Panel though. There isn't much that can be set there.

I have set the the same font in Pmail (Courier New CE).

 

@idw

 Default charset is ISO-8859-2 on both computers.

 

It might be relevant:

- email copies in "Copies to self" folder contain also wrong characters

- saved drafts come back OK

- sending Rich text also goes out wrong but with different "translation" (Copies to self are also bad)

 

This looks very much like the issues in version 4.30 when this was solved by editing and compiling wpm-lmtt.r ... (this does not work any more, of course) ...

 

Another test:

I took the email sent from Win7 (OK int chars) to my Win8 and forwarded it with editing where I copied the received OK string and also typed the same string anew.

So I sent this:

Typed: -šđč枊ĐČĆŽ-

Copied: -šđč枊ĐČĆŽ-

The received email contained:

Typed: -=B9d`eae=BE=A9D`EAE=AE-
Copied: -=B9=F0=E8=E6=BE=A9=D0=C8=C6=AE-

[:O]

 Then I did the same again and copied both "Typed" and "Copied" strings to Notepad and got this:

Typed: -šðè枊ÐÈÆŽ-
Copied: -šđč枊ĐČĆŽ-

 Yes, it is Unicode.

When I type the string in Notepad and I copy it to Pmail I get the correct codes.

Pmail obviously takes typed characters as different Unicode codes on Win8 than other applications ... Any idea why?


<p>@aderoy</p><p>Language settings are the same (English (united States)).</p><p>I am not sure what you mean by Fonts setting in Control Panel though. There isn't much that can be set there.</p><p>I have set the the same font in Pmail (Courier New CE).</p><p> </p><p>@idw</p><p> Default charset is ISO-8859-2 on both computers.</p><p> </p><p>It might be relevant: </p><p>- email copies in "Copies to self" folder contain also wrong characters</p><p>- saved drafts come back OK</p><p>- sending Rich text also goes out wrong but with different "translation" (Copies to self are also bad)</p><p> </p><p>This looks very much like the issues in version 4.30 when this was solved by editing and compiling wpm-lmtt.r ... (this does not work any more, of course) ...</p><p> </p><p>Another test:</p><p>I took the email sent from Win7 (OK int chars) to my Win8 and forwarded it with editing where I copied the received OK string and also typed the same string anew.</p><p>So I sent this:</p><blockquote><p>Typed: -šđč枊ĐČĆŽ-</p><p>Copied: -šđč枊ĐČĆŽ- </p></blockquote><p>The received email contained:</p><blockquote><p>Typed: -=B9d`eae=BE=A9D`EAE=AE- Copied: -=B9=F0=E8=E6=BE=A9=D0=C8=C6=AE-</p></blockquote><p>[:O] </p><p> Then I did the same again and copied both "Typed" and "Copied" strings to Notepad and got this:</p><blockquote><p>Typed: -šðè枊ÐÈÆŽ- Copied: -šđč枊ĐČĆŽ-</p></blockquote><p> Yes, it is Unicode.</p><p>When I <b>type</b> the string in Notepad and I copy it to Pmail I get the correct codes. </p><p>Pmail obviously takes typed characters as different Unicode codes on Win8 than other applications ... Any idea why? </p><p> </p>

[quote user="lesles"]Default charset is ISO-8859-2 on both computers.[/quote]

What happens if using UTF-8?

<p>[quote user="lesles"]Default charset is ISO-8859-2 on both computers.[/quote]</p><p>What happens if using UTF-8? </p>
			Michael
--
IERenderer's Homepage
PGP Key ID (RSA 2048): 0xC45D831B
S/MIME Fingerprint: 94C6B471 0C623088 A5B27701 742B8666 3B7E657C

Tried UTF-8 already, does not work either.

Pmail sends this:

Test: -=C5=A1=C3=B0=C3=A8=C3=A6=C5=BE=C5=A0=C3=90=C3=88=C3=86=C5=BD-

what comes out as

Test: -šðè枊ÐÈÆŽ-

 

<p>Tried UTF-8 already, does not work either.</p><p>Pmail sends this:</p><blockquote><p>Test: -=C5=A1=C3=B0=C3=A8=C3=A6=C5=BE=C5=A0=C3=90=C3=88=C3=86=C5=BD- </p></blockquote><p>what comes out as</p><blockquote><p>Test: -šðè枊ÐÈÆŽ-</p></blockquote><p> </p>

I can definitely confirm that on Windows 8.1 Pmail translates international letter keystrokes to different Unicode codes than other applications (e.g. Notepad).

Typing in Pmail produces same visible characters as copy-pasting from notepad (in the same email message being written). However, when that message is sent, the two groups of characters get different quoted printable representation what shows that they have different codes.

Does any one have deeper understanding of this mechanism in Pmail?

I am a developer my self so I can give it a check. Knowing where to look for would give me a jump start.

Thanks!

<p>I can definitely confirm that on Windows 8.1 Pmail translates international letter <b>keystrokes</b> to different Unicode codes than other applications (e.g. Notepad).</p><p>Typing in Pmail produces same <b>visible </b>characters as copy-pasting from notepad (in the same email message being written). However, when that message is sent, the two groups of characters get different quoted printable representation what shows that they have different codes.</p><p>Does any one have deeper understanding of this mechanism in Pmail?</p><p>I am a developer my self so I can give it a check. Knowing where to look for would give me a jump start.</p><p>Thanks! </p>

I notice that earlier in this thread to refer to charset as ISO-8859-2 (http://en.wikipedia.org/wiki/ISO/IEC_8859-2)  and are using American character keyboard. So how are you entering these 8-bit bytes ?

Martin 

<p>I notice that earlier in this thread to refer to charset as ISO-8859-2 (http://en.wikipedia.org/wiki/ISO/IEC_8859-2)  and are using American character keyboard. So how are you entering these 8-bit bytes ?</p><p>Martin </p>

Thanks for responding, Martin!

I'm not using American keyboard layout.
The keyboard works well in other apps and this particular combination of settings work well in Win7 and worked well in WinXP (and still do in the VM image of that system).

Windows 8.1 is where this does not work for some reason.

Do you know how Pmail handles keyboard? There is something in Win8.1 that works differently. The question is what?

 

<p>Thanks for responding, Martin!</p><p>I'm not using American keyboard layout. The keyboard works well in other apps and this particular combination of settings work well in Win7 and worked well in WinXP (and still do in the VM image of that system).</p><p>Windows 8.1 is where this does not work for some reason.</p><p>Do you know how Pmail handles keyboard? There is something in Win8.1 that works differently. The question is what? </p><p>  </p>

Just some more dis-jointed thoughts:

 The driver software in Windows 8.1 is KBDCLASS.SYS and KBDHID.SYS

In Control Panel LANGUAGE there is a keyword string "Windows Display Language" mine is Enabled

   and Keyboard Layout: US   Note here that you can add languages for the display language dialog

and finally, the Control Panel REGION has a setting for Unicode and Non-Unicode. No clue what this does. 

Are these the same as XP settings ?

Martin 

 

<p>Just some more dis-jointed thoughts:</p><p> The driver software in Windows 8.1 is KBDCLASS.SYS and KBDHID.SYS</p><p>In Control Panel LANGUAGE there is a keyword string "Windows Display Language" mine is Enabled</p><p>   and Keyboard Layout: US   Note here that you can add languages for the display language dialog</p><p>and finally, the Control Panel REGION has a setting for Unicode and Non-Unicode. No clue what this does. </p><p>Are these the same as XP settings ?</p><p>Martin </p><p> </p>
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft