Re: Report encoding issues

2014-03-12 Thread assaf
Ok , Issue solved -State the encoding in the BufferReader. ReportDownloadResponse response = new ReportDownloader(session).downloadReport(reportDefinition); InputStream in = response.getInputStream(); BufferedReader reader = new BufferedReader(new InputStreamReader(in, "UTF-8")); Tha

Re: Report encoding issues

2014-03-11 Thread assaf
I use the reports to fetch stats on a regular basis so don't wish to generate reports on the server. I prefer to read it directly from the InputStream. I did try the CSV report and I see that also when opening the CSV file the strange chars appear as well (while strangely in the windows 7 previe

Re: Report encoding issues

2014-03-11 Thread Josh Radcliff (AdWords API Team)
Hi, Please check the encoding being used on your terminal. If it is not UTF-8 then you will get strange characters as you described. As an alternative, you could simply modify the DownloadCriteriaReport example

Re: Report encoding issues

2014-03-11 Thread assaf
The campaignName that arrived from the XML is not encoded properly I guess (just printing it out to the console produces strange chars like - ׳?׳™׳?׳× ׳?׳?׳•׳§׳“ - ׳‘׳×׳™ ׳?׳?׳•׳?) If it came in encoded properly I would be seeing proper hebrew chars.. On Tuesday, March 11, 2014 6:49:49 PM UTC+2

Re: Report encoding issues

2014-03-11 Thread Josh Radcliff (AdWords API Team)
Hi, The strings should be encoded in UTF-8. It's quite possible I'm missing something here, but if you already have the reportCampaignName String below, why do you need to convert it to a new String in another CharSet? Couldn't you just use reportCampaignName directly? I just ran a quick te

Report encoding issues

2014-03-10 Thread assaf
Hi, This may be a little basic but it is a first time that I actually need strings (names) from my reports and not numeric statistics.. I generate SEARCH_QUERY_PERFORMANCE_REPORT successfully. I am trying to read the String name fields (CampaignName,KeywordTextMatchingQuery etc.) directly from