Re: 5.1.2.: System HTML viewer incorrectly displays UTF-8 HTML messages without correct HTML structure

2012-04-25 Thread Viktor Kabelac
Servus Uwe,


Tuesday, April 24, 2012, 5:36:26 PM, you wrote:
 correctly passed to the system viewer. If the HTML itself bore a correct
 header, all may have been OK. But in these messages, the HTML just starts
 right off with text.
 The internal viewer shows them properly right from the start.

 I  can  confirm  on all that. I have several messages (HTML only) created
 using Thunderbird and they look like
Since we seem to agree that this is an issue - do you - or anybody else -
know if concluding this here is enough for RITLabs to get on it, or do we
need to create an issue in the previously mentioned issue tracking system?

Thanks and have a nice day.

-- 
 Viktor Kabelacmailto:tbbeta-l...@kabelac.cz



 Current beta is 5.1.0.3 | 'Using TBBETA' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: 5.1.2.: System HTML viewer incorrectly displays UTF-8 HTML messages without correct HTML structure

2012-04-25 Thread Viktor Kabelac
Hello Raymund,

 The  system  viewer  doesn't  respect  the  UTL-8 character set, but the
 internal viewer shows them properly.

 I would expect that the system viewer does not see the
Nobody expects the system viewer to see these, of course (those are 2
different programs and it'd be sad if they saw into eachother).

But, we (or I, for this matter) would well expect TheBat' to
- pass this data to the viewer when embedding it in the view window.
- or, if such a feature is not defined by the interface used to invoke the 
system
viewer, patch the HTML passed to the viewer by adding that header so the 
encoding gets propagated to it.


-- 
Best regards,
 Viktor Kabelacmailto:tbbeta-l...@kabelac.cz



 Current beta is 5.1.0.3 | 'Using TBBETA' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


5.1.2.: System HTML viewer incorrectly displays UTF-8 HTML messages without correct HTML structure

2012-04-24 Thread Viktor Kabelac
Hello TB-BETA,

I have one sender (a forum's notifications) that sends me HTML+Text emails that
miss the correct HTML structure (no HTML, no HEAD, no BODY, no encoding)
but directly start with content.
When TheBat! is set to use the system HTML viewer
(was this meant to become the default setting, become active without being
explicitly configured so?)
these messages are not shown properly. With the internal viewer, they
display fine.
These messages have the following header:
  Content-Type: text/html; charset=utf-8

Is there a chance to detect the encoding the same as seems to be done with
the internal viewer to correctly display even these broken messages (in
light of the internal viewer being able to do so?)

I can supply a sample if it helps.

-- 
Best regards,
 Viktor  mailto:tbbeta-l...@kabelac.cz



 Current beta is 5.1.0.3 | 'Using TBBETA' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: 5.1.2.: System HTML viewer incorrectly displays UTF-8 HTML messages without correct HTML structure

2012-04-24 Thread RS (FEDARA)
Hi Viktor,

 These messages have the following header:
   Content-Type: text/html; charset=utf-8

I  reported  that problem before on BugTraq and did sent some messages
BUT  my  messages  were  detected  properly as UTF-8 but not displayed
properly.

When  I  switched coding to something else and back to UTF-8 they were
fine. For me personally the problem mainly was connected with messages
send in Polish or Chinese (Simplified and Traditional).

-- 
Best Regards,
RS (FEDARA)

The Bat! 5.1.2
Windows 7 x64 Professional (7601 Service Pack 1)

Tuesday, April 24, 2012 (21:51 ; GMT+8)





 Current beta is 5.1.0.3 | 'Using TBBETA' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: 5.1.2.: System HTML viewer incorrectly displays UTF-8 HTML messages without correct HTML structure

2012-04-24 Thread Viktor Kabelac
Hello RS,

Tuesday, April 24, 2012, 3:56:06 PM, you wrote:
 BUT  my  messages  were  detected  properly as UTF-8 but not displayed
 properly.

 When  I  switched coding to something else and back to UTF-8 they were
 fine. For me personally the problem mainly was connected with messages
 send in Polish or Chinese (Simplified and Traditional).
Probably the encoding was simply not applied. My messages are in Czech, but
IMO we can safely suppose the problem doesn't depend on the language, but
on the encoding. Encoding read out of the email doesn't seem to be
correctly passed to the system viewer. If the HTML itself bore a correct
header, all may have been OK. But in these messages, the HTML just starts
right off with text.
The internal viewer shows them properly right from the start.


-- 
Best regards,
 Viktor Kabelacmailto:tbbeta-l...@kabelac.cz



 Current beta is 5.1.0.3 | 'Using TBBETA' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: 5.1.2.: System HTML viewer incorrectly displays UTF-8 HTML messages without correct HTML structure

2012-04-24 Thread Uwe Steinfeld
Hello Viktor,

Tuesday, April 24, 2012, 5:28:15 PM, you wrote:

 Probably the encoding was simply not applied. My messages are in Czech, but
 IMO we can safely suppose the problem doesn't depend on the language, but
 on the encoding. Encoding read out of the email doesn't seem to be
 correctly passed to the system viewer. If the HTML itself bore a correct
 header, all may have been OK. But in these messages, the HTML just starts
 right off with text.
 The internal viewer shows them properly right from the start.

I  can  confirm  on all that. I have several messages (HTML only) created
using Thunderbird and they look like

Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

!DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
html
head
/head
body bgcolor=#ff text=#00
...

The  system  viewer  doesn't  respect  the  UTL-8 character set, but the
internal viewer shows them properly.

-- 
Best regards,
Uwe

Using The Bat! v5.1.2 on Windows 7 6.1 Build 7601 Service Pack 1
5 POP3 accounts, no IMAP, no OTFE



 Current beta is 5.1.0.3 | 'Using TBBETA' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: 5.1.2.: System HTML viewer incorrectly displays UTF-8 HTML messages without correct HTML structure

2012-04-24 Thread RS (FEDARA)
Hi Viktor,

 Hello RS,

 Tuesday, April 24, 2012, 3:56:06 PM, you wrote:
 BUT  my  messages  were  detected  properly as UTF-8 but not displayed
 properly.

 When  I  switched coding to something else and back to UTF-8 they were
 fine. For me personally the problem mainly was connected with messages
 send in Polish or Chinese (Simplified and Traditional).
 Probably the encoding was simply not applied. My messages are in Czech, but
 IMO we can safely suppose the problem doesn't depend on the language, but
 on the encoding. Encoding read out of the email doesn't seem to be
 correctly passed to the system viewer. If the HTML itself bore a correct
 header, all may have been OK. But in these messages, the HTML just starts
 right off with text.
 The internal viewer shows them properly right from the start.

You  might  be  right,  however  for  instance for Polish it makes the
message bad looking but you can understand it but for Chinese it makes
it  completely  unreadable  (especially  if it contains Simplified and
Traditional Chinese).

If  you  reply  to a message in Simplified Chinese but somebody before
typed  there in Traditional Chinese ; Traditional Chinese part becomes
complete garbage.


BTW,  looks like something has changed in that version because a trick
I   described   before  is  not  working anymore for me on two Chinese
messages I just tried. Autodetect displayed message in Cyrillic.

I'm on the trip now ; in 5 days I'll be able to recheck behavior on my
second machine.

Same message is properly shown in other clients.

-- 
Best Regards,
RS (FEDARA)

The Bat! 5.1.2
Windows 7 x64 Professional (7601 Service Pack 1)

Tuesday, April 24, 2012 (23:58 ; GMT+8)





 Current beta is 5.1.0.3 | 'Using TBBETA' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: 5.1.2.: System HTML viewer incorrectly displays UTF-8 HTML messages without correct HTML structure

2012-04-24 Thread RS (FEDARA)
Hi Raymund,

 I would expect that the system viewer does not see the

 Content-Type: text/html; charset=UTF-8
 Content-Transfer-Encoding: 8bit

 part. As the message doesn't contain a meta tag with the information
 that the content is indeed UTF-8 it uses what ever it thinks is
 correct. Which it obviously fails to determine correctly.

 I would say the fault is on Thunderbirds sise here that it is not
 specifying the meta tag.

Maybe  you're  right  but try to reply to a message that is mixed with
Traditional and Simplified Chinese and explain to this people why your
client's  e-mail  is  half  unreadable...  When  I  replied to a first
message  I didn't realize that part of it became unreadable because it
was in the part that was not visible while typing (e-mail was long).

Original  e-mail  I  refer to was created in Apple Mail in Traditional
Chinese  ;  after that replied in Simplified Chinese (Chinese OS) with
Foxmail  (quite popular in China as far as I know) and received in TB!
where I tried to reply to it and had to remove half of the thread that
was in Traditional Chinese because it was all scrambled.


I  do  like  TB!  but  it's  a  bit  humiliating when it comes to such
situation  and  they  do  tell me to switch to Outlook or Thunderbird.
Especially that it's not a freeware.


Anyway, just realized that all Traditional Chinese messages I have are
now  completely  unreadable  in  that version. Even if enforcing UTF-8
nothing is happening.

Need to go back to a previous version were at least I was able to read
messages in Traditional Chinese... :(

-- 
Best Regards,
RS (FEDARA)

The Bat! 5.1.2
Windows 7 x64 Professional (7601 Service Pack 1)

Wednesday, April 25, 2012 (00:16 ; GMT+8)



 Current beta is 5.1.0.3 | 'Using TBBETA' information:
http://www.silverstones.com/thebat/TBUDLInfo.html