{"ygPerms":{"resourceCapabilityList":[{"resourceType":"GROUP","capabilities":[{"name":"UPDATE"},{"name":"READ"},{"name":"WELCOME_MSG"},{"name":"PENDING_COUNT"},{"name":"ACTIVITY_LOGS"}]},{"resourceType":"PHOTO","capabilities":[{"name":"READ"},{"name":"READ"},{"name":"UPLOAD"},{"name":"UPDATE"},{"name":"DELETE"},{"name":"COPY"},{"name":"MOVE"},{"name":"APPROVE"},{"name":"UPLOADTEMP"},{"name":"GROUPCOVER"}]},{"resourceType":"FILE","capabilities":[{"name":"READ"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"DELETE"},{"name":"AUTO_SEND"}]},{"resourceType":"MEMBER","capabilities":[{"name":"READ"},{"name":"READ"},{"name":"EDIT_MODERATOR"},{"name":"DELETE"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"BAN"}]},{"resourceType":"LINK","capabilities":[{"name":"READ"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"DELETE"},{"name":"MOVE_LINK"}]},{"resourceType":"CALENDAR","capabilities":[{"name":"READ"}]},{"resourceType":"DATABASE","capabilities":[{"name":"READ_DATA"},{"name":"CREATE"},{"name":"READ"}]},{"resourceType":"POLL","capabilities":[{"name":"READ"},{"name":"VOTE"},{"name":"UPDATE"},{"name":"CREATE"},{"name":"DELETE"},{"name":"CLOSE"}]},{"resourceType":"MESSAGE","capabilities":[{"name":"CREATE"},{"name":"READ"},{"name":"DELETE"}]},{"resourceType":"PENDING_MESSAGE","capabilities":[{"name":"READ"},{"name":"UPDATE"},{"name":"DELETE"}]},{"resourceType":"ATTACHMENTS","capabilities":[{"name":"READ"},{"name":"DELETE"}]},{"resourceType":"PHOTOMATIC_ALBUMS","capabilities":[{"name":"READ"},{"name":"UPLOAD"}]},{"resourceType":"MEMBERSHIP_TYPE","capabilities":[{"name":"READ"},{"name":"CREATE"},{"name":"DELETE"},{"name":"UPDATE"}]},{"resourceType":"POST","capabilities":[{"name":"DELETE"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"READ"}]},{"resourceType":"PIN","capabilities":[{"name":"DELETE"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"READ"}]}],"modStatus":"MODERATOR","subStatus":"NORMAL","groupUrl":"groups.yahoo.com","intlCode":"us"},"comscore":"pageview_candidate","ygData":{"userId":40439957,"authorName":"Didier Briel","from":"&quot;Didier Briel&quot; &lt;d.briel@free.fr&gt;","profile":"didier_briel","replyTo":"LIST","senderId":"q2rYFpz7WBnN95S-GsKWLYZp2dw4Nz6sHwKsDZqjHCeC9PAwx161oQBPvRzUPJdEYHl9b2-KILQdRk6sfIYPmz2V1Kau6To","spamInfo":{"isSpam":false,"reason":"12"},"subject":"RE: [OmT] forcing UTF8 target in Java Properties files","postDate":"1268503501","msgId":17278,"canDelete":true,"contentTrasformed":false,"systemMessage":false,"headers":{"messageIdInHeader":"PEFPRUhLQ0tPSU9HUEdDTkxERUtCT0VDSUdLQUEuZC5icmllbEBmcmVlLmZyPg==","inReplyToHeader":"PGhuZ2ZtZStsbHE5QGVHcm91cHMuY29tPg=="},"prevInTopic":17277,"nextInTopic":17279,"prevInTime":17277,"nextInTime":17279,"topicId":17269,"numMessagesInTopic":6,"msgSnippet":"... smo ... u notation. E.g., u00e9chou u00e9 ... that nailed-down  in filter definitions? ... some many cases of l10n bugs with files in UTF8, that","rawEmail":"Return-Path: &lt;d.briel@free.fr&gt;\r\nX-Sender: d.briel@free.fr\r\nX-Apparently-To: OmegaT@yahoogroups.com\r\nX-Received: (qmail 11533 invoked from network); 13 Mar 2010 18:05:13 -0000\r\nX-Received: from unknown (98.137.34.46)\n  by m11.grp.re1.yahoo.com with QMQP; 13 Mar 2010 18:05:13 -0000\r\nX-Received: from unknown (HELO smtp1-g21.free.fr) (212.27.42.1)\n  by mta3.grp.sp2.yahoo.com with SMTP; 13 Mar 2010 18:05:12 -0000\r\nX-Received: from smtp1-g21.free.fr (localhost [127.0.0.1])\n\tby smtp1-g21.free.fr (Postfix) with ESMTP id A83839401EA\n\tfor &lt;OmegaT@yahoogroups.com&gt;; Sat, 13 Mar 2010 19:05:08 +0100 (CET)\r\nX-Received: from Acer (ril69-2-82-235-41-242.fbx.proxad.net [82.235.41.242])\n\tby smtp1-g21.free.fr (Postfix) with SMTP id B90FD940130\n\tfor &lt;OmegaT@yahoogroups.com&gt;; Sat, 13 Mar 2010 19:05:05 +0100 (CET)\r\nTo: &lt;OmegaT@yahoogroups.com&gt;\r\nDate: Sat, 13 Mar 2010 19:05:01 +0100\r\nMessage-ID: &lt;AOEHKCKOIOGPGCNLDEKBOECIGKAA.d.briel@free.fr&gt;\r\nMIME-Version: 1.0\r\nContent-Type: text/plain;\n\tcharset=&quot;iso-8859-1&quot;\r\nContent-Transfer-Encoding: 7bit\r\nX-Priority: 3 (Normal)\r\nX-MSMail-Priority: Normal\r\nX-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)\r\nImportance: Normal\r\nIn-Reply-To: &lt;hngfme+llq9@eGroups.com&gt;\r\nX-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579\r\nX-Originating-IP: 212.27.42.1\r\nX-eGroups-Msg-Info: 1:12:0:0:0\r\nFrom: &quot;Didier Briel&quot; &lt;d.briel@free.fr&gt;\r\nSubject: RE: [OmT] forcing UTF8 target in Java Properties files\r\nX-Yahoo-Group-Post: member; u=40439957; y=OYtxAsMJCWvam6d5CKE2Y3OxLbl-7YPAKvKD25QxXKKMZt3WBtnd\r\nX-Yahoo-Profile: didier_briel\r\n\r\n-----Original Message-----\n&gt;From: OmegaT@yahoogroups.com [mailto:OmegaT@yahoogroups.com]On Behalf Of\nsmo\n&gt;Sent: Saturday, March 13, 2010 5:49 PM\n&gt;To: OmegaT@yahoogroups.com\n&gt;Subject: Re: [OmT] forcing UTF8 target in Java Properties files\n\n&gt;&gt; No, ISO 8859-1, as defined by Java.\n&gt;&gt; For practical purposes however, any non-ASCII value is encoded with the\n&#92;u notation. E.g., &#92;u00e9chou&#92;u00e9\n&gt;\n&gt;Yes, correct - I just am lousy at remembering  correct names\n&gt;&gt; &gt;However, I need to have the output (100+ files) in UTF8. Anyway to hack\nthat nailed-down &lt;auto&gt; in filter definitions?\n&gt;\n&gt;Why hack an implementation of a well-defined standard? Well, Mozilla had\nsome many cases of l10n bugs with files in UTF8, that they elegantly made it\na feature.  And in some cases, UTF8 is essential.\n&gt;&gt;\n&gt;&gt; Cannot you use the .ini filter instead?\n&gt;&gt;\n&gt;This is exactly what I have done - the second time around, because I forgot\nhow I solved the problem the first time. The only problem are the few\nsegments with continuation backslashes at the end of lines (? - I dont even\nknow, if this is not another case of abug, turning into a feature).\n\nDo you mean that you have them, or don&#39;t have them? For .properties files,\nthat&#39;s a feature (i.e., it has to be done).\n\nNote that there is a clean way to translate .properties files in OmegaT\n*and* to deliver in UTF-8.\n\nI will mention it here for reference:\n\nFirst, translate normally in OmegaT (using the real .properties filter).\nYou get an &quot;Unicode-encoded&quot; file. Any non ASCII character looks like\n&#92;u00e9.\n\nThen, run native2ascii (it is described here:\nhttp://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/native2ascii.html).\nThe syntax you want is:\nnative2ascii -reverse -encoding UTF8 source-file.properties\ntarget-file.properties\n\nTarget file can be the same as source file if needed. I.e., there&#39;s no need\nfor an intermediate file.\n\nThe only trouble is having native2ascii. It&#39;s part of the JDK, so the\neasiest is probably downloading a JDK.\n\nIf you have no path, under Windows, you can then run it as\n&quot;C:&#92;Program Files&#92;Java&#92;jdk1.6.0_06&#92;bin&#92;native2ascii.exe&quot; -reverse -encoding\nUTF8 source-file.properties target-file.propertie\n\nDidier\n\n\n\n"}}