This project has moved. For the latest updates, please go here.

non-ascii-chars like äöü are displayed as ??

Oct 14, 2010 at 3:55 PM

Hello,

it seems that L2C does not display UTF-8 characters correct.
I use NLog with the chainsaw UDP appender.

All non-ascii-chars like the ä in Aufträge are displayed as Auftr??ge in L2C

regards, alex. 

Developer
Oct 15, 2010 at 3:27 PM

Could you please try TCP appender to narrow the problem down?

 

Oct 15, 2010 at 9:07 PM

yes, I could if you tell me the needed settings in nlog.config for that.

alex.

Developer
Oct 15, 2010 at 9:58 PM

An example string is displayed in Receivers dialog box, when you select TCP Receiver...

But basically, you should use tcp:// or tcp4:// scheme, instead of udp://

Oct 24, 2010 at 11:21 AM
Hello,

I cannot get the TCP Receiver to work at all with NLog.
The firewall is not active, so this cannot be the problem.

I use the UDP receiver as following:
<target name="log2consoleUDP" xsi:type="Chainsaw" address="udp://localhost:7071" />
this works except of the non-ascii-chars.

The TCP Receiver I tried with the following targets:
<target name="log2consoleTCP" xsi:type="NLogViewer" address="tcp://localhost:4505"/>
<target name="log2consoleTCP" xsi:type="NLogViewer" address="tcp://127.0.0.1:4505"/>
<target name="log2consoleTCP" xsi:type="NLogViewer" address="tcp4://localhost:4505"/>
<target name="log2consoleTCP" xsi:type="NLogViewer" address="tcp4://127.0.0.1:4505"/>
none of them worked.
But the application went incedible slow when using one of these targets.

when I use the WinDebug Receiver, the non-ascii-chars are displayed correct.
But all the level, logger and thread informations are lost...

any idea what I could check?
thanks, alex.


Am 15.10.2010 23:58, schrieb LexLavnikov:

From: LexLavnikov

An example string is displayed in Receivers dialog box, when you select TCP Receiver...

But basically, you should use tcp:// or tcp4:// scheme, instead of udp://

Read the full discussion online.

To add a post to this discussion, reply to this email (log2console@discussions.codeplex.com)

To start a new discussion for this project, email log2console@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe on CodePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at CodePlex.com


Nov 1, 2010 at 8:32 AM

I try to change source in 2 places, but nothing. Symbols change, but now I have "PSPPSPPPPPPSPP"

string loggingEvent = System.Text.Encoding.GetEncoding(1251).GetString(((MemoryStream)m.BodyStream).ToArray());


System.Text.Encoding.GetEncoding(1251).GetString(((MemoryStream)thisone.BodyStream).ToArray());

 

And I cant use TCP too. I use UDP. My connection string <target name="Log2Console" xsi:type="NLogViewer" address="udp4://localhost:7071"/>

Somebody help me!

 

Developer
Nov 1, 2010 at 10:44 AM

UDP receiver encoding problem fixed in 68751 check-in...

Look forward for the next build or build Log2Console from sources.

Nov 1, 2010 at 3:31 PM

LexLavnikov, big thank!

You are great man!

Coordinator
Nov 7, 2010 at 4:00 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.