Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Problem with special character "č", posted by Matej Sedej on Fri Feb 16 09:18:56 2018 
    icon2.gif   Re: Problem with special character "č", posted by Matej Sedej on Fri Feb 16 09:36:18 2018 
       icon2.gif   Re: Problem with special character "č", posted by Stefan Ritt on Tue Mar 6 15:08:23 2018 
          icon2.gif   Re: Problem with special character "č", posted by Matej Sedej on Tue Mar 6 15:29:38 2018 
             icon2.gif   Re: Problem with special character "č", posted by Stefan Ritt on Tue Mar 6 15:54:23 2018 
                icon2.gif   Re: Problem with special character "č", posted by Matej Sedej on Tue Mar 6 16:09:05 2018 
                   icon2.gif   Re: Problem with special character "č", posted by Matej Sedej on Thu Mar 15 09:39:20 2018 elog.pnglogfile.png
                      icon2.gif   Re: Problem with special character "č", posted by Stefan Ritt on Fri Mar 16 12:46:09 2018 Screen_Shot_2018-03-16_at_13.00.25_.png
                         icon2.gif   Re: Problem with special character "č", posted by Matej Sedej on Fri Mar 16 14:12:04 2018 
                            icon2.gif   Re: Problem with special character "č", posted by Stefan Ritt on Fri Mar 16 14:35:05 2018 
                               icon2.gif   Re: Problem with special character "č", posted by Matej Sedej on Fri Mar 16 15:39:17 2018 
                                  icon2.gif   Re: Problem with special character "č", posted by Stefan Ritt on Fri Mar 16 17:51:30 2018 
                                     icon2.gif   Re: Problem with special character "č", posted by Stefan Ritt on Fri Mar 16 18:08:10 2018 
                                        icon2.gif   Re: Problem with special character "č", posted by Matej Sedej on Fri Mar 16 20:54:40 2018 
Message ID: 68753     Entry time: Tue Mar 6 15:08:23 2018     In reply to: 68742     Reply to this: 68754
Icon: Reply  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
Category: Bug report  OS: Windows  ELOG Version: ELOG V3.1.3-fd7 
Subject: Re: Problem with special character "č" 

Actually unicode characters are converted by your browser into HTML code (such as &#268) where 268 decimal = 10C hex. elog just writes to file what it gets from the browser. When an existing elog entry gets shown by the browser, the code is translated back to the character. Why do you care what is written to the log file? If you use scripts or so to parse your log files, you have to adapt them to correctly decode HTML encoded characters. This is necessary since log files are ASCII and thus encode one charecter in one byte. Your Slovenian characters require two bytes in unicode, so some kind of "special" encoding is necessary.

Stefan

Matej Sedej wrote:

I see the same problem exists on this board as well. Actuall it appears only the attribute fields are affected. The č character was incorrectly written to the log file from the subject field above, but correctly from the body text below.

Matej Sedej wrote:

Hello!

First of all, thank you for this great piece of software! For now it seems to perfectly cover our need to log very basic events, there was a setting for everything we wanted to set.

However we have one problem and that is the saving of the letter "č" (Slovenian) into the log files. That is unicode character U+010C and U+010CD https://unicode-table.com/en/010C/. When writing to the log file it is replaced with "Č" and "č". Is there a known fix for this?

Thank you and best regards,

Matej

 

 

ELOG V3.1.5-fe60aaf