LogCat in Eclipse and UTF-8 ???

Common bugs/problems with the Android SDK the Emulator and the ADT-Plugin.

LogCat in Eclipse and UTF-8 ???

Postby darolla » Fri Mar 05, 2010 7:48 pm

Hi,

is it possible to set LogCat in Eclipse to UTF-8 ???

Log.d("MyActivity", "Tu mal lieber die Möhrchen");
System.out.println("Tu mal lieber die Möhrchen");
Toast.makeText(MyActivity.this, "Tu mal lieber die Möhrchen", Toast.LENGTH_LONG).show();

The toast shows the String correctly.

LogCat (using Log or System.out.println) shows crap like this:

03-05 18:37:01.923: INFO/System.out(936): Tu ma lieber die Möhrchen
03-05 18:37:01.913: DEBUG/MyActivity(936): Tu ma lieber die Möhrchen

I tried Run Configurations -> Common -> Console Encoding -> Other -> UTF-8

:(

Greetings,
Marco
User avatar
darolla
Master Developer
Master Developer
 
Posts: 273
Joined: Thu Sep 25, 2008 5:16 pm
Location: Dortmund, Germany

Top

Return to SDK/ADT/Emulator Problems

Who is online

Users browsing this forum: No registered users and 4 guests