﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
9906	Default encoding problems	akks	team	"People from forum (Xmypblu, LLlypuk82 etc.) noticed that notes and scripting plugins are showing incorrectly encoded messages
(on some Windows machines by default, can be fixed with -Dfile.encoding=utf8)

Debugging showed that the reason is in JOSM core:
`    BufferedReader in = new BufferedReader(new InputStreamReader(i));`
in OsmApi.java uses default encoding (not always UTF8).

I have added `Utils.UTF_8` to the call and hope there will be no regressions.

The same default InputStreamReader is used in other classes too:
AbstractOAuthProvider, OAuth, AutosaveTask, ServerSidePreferences, Projections, MapPaintDialog, MapPaintStyles, XmlStyleSource, OsmOAuthAuthorizationClient, ApiUrlTestTask, NmeaReader, OsmServerReader (???), PlatformHookUnixoid, Utils.execOutput.

Not sure if they can cause analogous problems, can someone help?


"	defect	closed	normal	14.04	Core		fixed		
