Re: Eclipse/WOLips Strange Chinese Characters
Re: Eclipse/WOLips Strange Chinese Characters
- Subject: Re: Eclipse/WOLips Strange Chinese Characters
- From: David Holt <email@hidden>
- Date: Wed, 12 May 2010 11:53:44 -0700
It's my understanding that the .strings files still need to be in UTF16. Has something changed recently?
d
On 2010-05-12, at 11:50 AM, David Griffith wrote:
> In case it should help anyone else in this kind of situation, the problem here was definitely to do with the encoding of the individual files. Somehow, a small number of the files in the project must have remained in another encoding, probably ISO Latin 1, to be honest I don't even know what encoding they had - thanks to BBEdit - it just opens them using its auto-detect feature and allowed me to re-save them as UTF8 or whatever other format I need and having re-imported them to the new project they are now working great. This seemed to happen a lot in XCode, particularly with the localizable.strings files. I don't know why but I remember I had to constantly reconvert them to UTF8. Must be some setting or bug somewhere in XCode. Anyway, I'm starting to feel like all the files in my projects are now getting some kind of consistency with regard to their encoding, thanks to Eclipse, WOLips and BBEdit :)
>
> Regards,
> David.
>
>
> On May 12, 2010, at 8:29 PM, David Griffith wrote:
>
> Hi Ken,
>
> I think this may be the solution. If I try and open the file in BBEdit with UTF8 it says it's corrupted or badly formatted. If I leave it on auto-detect, I can re-save it as UTF8 and it seems to then open correctly.
>
> Thanks!
>
> David.
>
> On May 10, 2010, at 2:12 PM, ISHIMOTO Ken wrote:
>
> For change the encoding on an text file (HTML) file the best solution is using BBEdit.
> I mostly use Japanese and have sometimes problems like that with imported code.
>
> Ken Ishimoto
>
> iPadから送信
>
> On 2010/05/10, at 8:38, David Griffith <email@hidden> wrote:
>
>> Well I've checked this in the Properties for the project, where else can I set it? I haven't found any other points where it can be changed.
>>
>> Regards,
>> David.
>>
>> On May 10, 2010, at 6:14 AM, Chuck Hill wrote:
>>
>> It sounds like you have the wrong encoding set. Check this under the various file / directory Properties in Eclipse.
>>
>>
>> On May 9, 2010, at 12:16 PM, David Griffith wrote:
>>
>>> Hi all,
>>>
>>> In one of my apps that I've converted over to Eclipse, I am having trouble updating the HTML pages. I've noticed that on some of the pages I am getting two strange symbols as the first entries in the HTML file. Then, if I click in some text and try to delete it letter by letter, I have to delete twice each time to delete one character. If I then type some new text, it appears fine in the file but when I load it in a browser it shows as chinese characters. The rest of the page is fine, only the new characters appear like this. If I delete the two strange characters at the beginning of the file it seems to create even more strange behaviour.
>>>
>>> I am currently updating Eclipse to the latest version in case it might be a bug in there, but it looks to me like something to do with encoding. I have set the workspace encoding to UTF-8 but I'm not sure how to check the actual encoding on any given page. I have had this problem (or something similar) before in XCode and as I remember I had to use the 'convert' command to actually convert the file to UTF-8 as it was either saved in some other format or was corrupted.
>>>
>>> Anyone ever seen this? Or anyone know if there is an equivalent 'convert' command in Eclipse to specifically set the encoding for any given document?
>>>
>>> Regards,
>>> David. _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list (email@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>>
>>> This email sent to email@hidden
>>
>> --
>> Chuck Hill Senior Consultant / VP Development
>>
>> Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
>> http://www.global-village.net/products/practical_webobjects
>>
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden