Re: Eclipse/WOLips Strange Chinese Characters
Am 13.05.2010 um 21:18 schrieb David LeBer: > > On 2010-05-13, at 3:16 PM, Pascal Robert wrote: > >> >> Le 10-05-13 à 15:10, ISHIMOTO Ken a écrit : >> >>> But I believe there are Developers with other Languages here on that List. >>> >>> Maybe good to know if other Language works with UTF-8 perfect too. >>> >>> Japanese OK >>> Germany OK >>> English OK >>> >>> French ? >> >> We always use UTF-16 for Localizable.strings > > ditto +1 for English, German, French and Spanish. > >> >>> Italien ? >>> . >>> >>> more >>> >>> >>> On 2010/05/13, at 19:40, Chuck Hill wrote: >>> I guess we can rule out my theory then. :-) On May 13, 2010, at 10:30 AM, ISHIMOTO Ken wrote: > I am using English, German and japanese with WO now, and all 3 Language > have no Problems with UTF-8. > > But you are right there are many other Language out there. > > Also thanks to Mike for fixing the Velocity Template Engine to UTF-8 last > Summer. That helped a lot, and it is possible now > to make all Templates in Japanese. > > But usually Japanese is one of the most Problems because there are about > 7-8 different Encodings and with UTF-8 it is like > "It just works" > > Ken > > > On 2010/05/13, at 19:14, Chuck Hill wrote: > >> I would not get too excited. I will guess that Ken's string files >> contain Japanese text which uses a double byte encoding in Unicode. >> That is easy to detect. Western European languages use mostly single >> byte encoding which is harder to differentiate from non-Unicode. IIRC, >> that is the problem that WO has in determining the encoding. >> >> >> Chuck >> >> >> On May 13, 2010, at 4:41 AM, Ramsey Lee Gurley wrote: >> >>> That sounds promising. I'll have to try it again sometime Ken. Last >>> time I attempted it, only UTF-16 worked for me. UTF-8 would be better >>> because when I create a new project using a project template, the >>> .strings are always UTF-8. WOLips doesn't seem to have a way to mark >>> them UTF-16 in a template. I'd prefer one encoding so I simply don't >>> have to think about it. >>> >>> Ramsey >>> >>> On May 13, 2010, at 2:40 AM, ISHIMOTO Ken wrote: >>> In my Project every file is UTF-8, also the .string files. With UTF-8 everywhere Multi language Application are happy and no trouble anymore. FrontBase do a got Job in UTF-8 do and it is much easier to use it everywhere as have to deal with a lot different encodings in an application. Greetings Ken Ishimoto iPadから送信 On 2010/05/12, at 21:34, Anjo Krank wrote: > You can edit the files with the built-in editor, which replaces, say, > A| with \U00e4. Then you can save them as plain ascii. > > Cheers, Anjo > > > > Am 12.05.2010 um 21:28 schrieb Ramsey Gurley: > >> +1 >> >> UTF-16 big endian, no BOM (UTF-16BE in Eclipse) >> >> Ramsey >> >> On May 12, 2010, at 2:53 PM, David Holt wrote: >> >>> 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
Re: Eclipse/WOLips Strange Chinese Characters
On 2010-05-13, at 3:16 PM, Pascal Robert wrote: > > Le 10-05-13 à 15:10, ISHIMOTO Ken a écrit : > >> But I believe there are Developers with other Languages here on that List. >> >> Maybe good to know if other Language works with UTF-8 perfect too. >> >> Japanese OK >> Germany OK >> English OK >> >> French ? > > We always use UTF-16 for Localizable.strings ditto > >> Italien ? >> . >> >> more >> >> >> On 2010/05/13, at 19:40, Chuck Hill wrote: >> >>> I guess we can rule out my theory then. :-) >>> >>> >>> On May 13, 2010, at 10:30 AM, ISHIMOTO Ken wrote: >>> I am using English, German and japanese with WO now, and all 3 Language have no Problems with UTF-8. But you are right there are many other Language out there. Also thanks to Mike for fixing the Velocity Template Engine to UTF-8 last Summer. That helped a lot, and it is possible now to make all Templates in Japanese. But usually Japanese is one of the most Problems because there are about 7-8 different Encodings and with UTF-8 it is like "It just works" Ken On 2010/05/13, at 19:14, Chuck Hill wrote: > I would not get too excited. I will guess that Ken's string files > contain Japanese text which uses a double byte encoding in Unicode. That > is easy to detect. Western European languages use mostly single byte > encoding which is harder to differentiate from non-Unicode. IIRC, that > is the problem that WO has in determining the encoding. > > > Chuck > > > On May 13, 2010, at 4:41 AM, Ramsey Lee Gurley wrote: > >> That sounds promising. I'll have to try it again sometime Ken. Last >> time I attempted it, only UTF-16 worked for me. UTF-8 would be better >> because when I create a new project using a project template, the >> .strings are always UTF-8. WOLips doesn't seem to have a way to mark >> them UTF-16 in a template. I'd prefer one encoding so I simply don't >> have to think about it. >> >> Ramsey >> >> On May 13, 2010, at 2:40 AM, ISHIMOTO Ken wrote: >> >>> In my Project every file is UTF-8, also the .string files. >>> >>> With UTF-8 everywhere Multi language Application are happy and no >>> trouble anymore. >>> >>> FrontBase do a got Job in UTF-8 do and it is much easier to use it >>> everywhere as have to deal >>> >>> with a lot different encodings in an application. >>> >>> Greetings Ken Ishimoto >>> >>> iPadから送信 >>> >>> On 2010/05/12, at 21:34, Anjo Krank wrote: >>> You can edit the files with the built-in editor, which replaces, say, A| with \U00e4. Then you can save them as plain ascii. Cheers, Anjo Am 12.05.2010 um 21:28 schrieb Ramsey Gurley: > +1 > > UTF-16 big endian, no BOM (UTF-16BE in Eclipse) > > Ramsey > > On May 12, 2010, at 2:53 PM, David Holt wrote: > >> 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! >>> >
Re: Eclipse/WOLips Strange Chinese Characters
Le 10-05-13 à 15:10, ISHIMOTO Ken a écrit : But I believe there are Developers with other Languages here on that List. Maybe good to know if other Language works with UTF-8 perfect too. Japanese OK Germany OK English OK French ? We always use UTF-16 for Localizable.strings Italien ? . more On 2010/05/13, at 19:40, Chuck Hill wrote: I guess we can rule out my theory then. :-) On May 13, 2010, at 10:30 AM, ISHIMOTO Ken wrote: I am using English, German and japanese with WO now, and all 3 Language have no Problems with UTF-8. But you are right there are many other Language out there. Also thanks to Mike for fixing the Velocity Template Engine to UTF-8 last Summer. That helped a lot, and it is possible now to make all Templates in Japanese. But usually Japanese is one of the most Problems because there are about 7-8 different Encodings and with UTF-8 it is like "It just works" Ken On 2010/05/13, at 19:14, Chuck Hill wrote: I would not get too excited. I will guess that Ken's string files contain Japanese text which uses a double byte encoding in Unicode. That is easy to detect. Western European languages use mostly single byte encoding which is harder to differentiate from non-Unicode. IIRC, that is the problem that WO has in determining the encoding. Chuck On May 13, 2010, at 4:41 AM, Ramsey Lee Gurley wrote: That sounds promising. I'll have to try it again sometime Ken. Last time I attempted it, only UTF-16 worked for me. UTF-8 would be better because when I create a new project using a project template, the .strings are always UTF-8. WOLips doesn't seem to have a way to mark them UTF-16 in a template. I'd prefer one encoding so I simply don't have to think about it. Ramsey On May 13, 2010, at 2:40 AM, ISHIMOTO Ken wrote: In my Project every file is UTF-8, also the .string files. With UTF-8 everywhere Multi language Application are happy and no trouble anymore. FrontBase do a got Job in UTF-8 do and it is much easier to use it everywhere as have to deal with a lot different encodings in an application. Greetings Ken Ishimoto iPadから送信 On 2010/05/12, at 21:34, Anjo Krank wrote: You can edit the files with the built-in editor, which replaces, say, A| with \U00e4. Then you can save them as plain ascii. Cheers, Anjo Am 12.05.2010 um 21:28 schrieb Ramsey Gurley: +1 UTF-16 big endian, no BOM (UTF-16BE in Eclipse) Ramsey On May 12, 2010, at 2:53 PM, David Holt wrote: 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 > 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 cha
Re: Eclipse/WOLips Strange Chinese Characters
But I believe there are Developers with other Languages here on that List. Maybe good to know if other Language works with UTF-8 perfect too. Japanese OK Germany OK English OK French ? Italien ? . more On 2010/05/13, at 19:40, Chuck Hill wrote: > I guess we can rule out my theory then. :-) > > > On May 13, 2010, at 10:30 AM, ISHIMOTO Ken wrote: > >> I am using English, German and japanese with WO now, and all 3 Language have >> no Problems with UTF-8. >> >> But you are right there are many other Language out there. >> >> Also thanks to Mike for fixing the Velocity Template Engine to UTF-8 last >> Summer. That helped a lot, and it is possible now >> to make all Templates in Japanese. >> >> But usually Japanese is one of the most Problems because there are about 7-8 >> different Encodings and with UTF-8 it is like >> "It just works" >> >> Ken >> >> >> On 2010/05/13, at 19:14, Chuck Hill wrote: >> >>> I would not get too excited. I will guess that Ken's string files contain >>> Japanese text which uses a double byte encoding in Unicode. That is easy >>> to detect. Western European languages use mostly single byte encoding >>> which is harder to differentiate from non-Unicode. IIRC, that is the >>> problem that WO has in determining the encoding. >>> >>> >>> Chuck >>> >>> >>> On May 13, 2010, at 4:41 AM, Ramsey Lee Gurley wrote: >>> That sounds promising. I'll have to try it again sometime Ken. Last time I attempted it, only UTF-16 worked for me. UTF-8 would be better because when I create a new project using a project template, the .strings are always UTF-8. WOLips doesn't seem to have a way to mark them UTF-16 in a template. I'd prefer one encoding so I simply don't have to think about it. Ramsey On May 13, 2010, at 2:40 AM, ISHIMOTO Ken wrote: > In my Project every file is UTF-8, also the .string files. > > With UTF-8 everywhere Multi language Application are happy and no trouble > anymore. > > FrontBase do a got Job in UTF-8 do and it is much easier to use it > everywhere as have to deal > > with a lot different encodings in an application. > > Greetings Ken Ishimoto > > iPadから送信 > > On 2010/05/12, at 21:34, Anjo Krank wrote: > >> You can edit the files with the built-in editor, which replaces, say, A| >> with \U00e4. Then you can save them as plain ascii. >> >> Cheers, Anjo >> >> >> >> Am 12.05.2010 um 21:28 schrieb Ramsey Gurley: >> >>> +1 >>> >>> UTF-16 big endian, no BOM (UTF-16BE in Eclipse) >>> >>> Ramsey >>> >>> On May 12, 2010, at 2:53 PM, David Holt wrote: >>> 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 > wrote: >
Re: Eclipse/WOLips Strange Chinese Characters
I guess we can rule out my theory then. :-) On May 13, 2010, at 10:30 AM, ISHIMOTO Ken wrote: I am using English, German and japanese with WO now, and all 3 Language have no Problems with UTF-8. But you are right there are many other Language out there. Also thanks to Mike for fixing the Velocity Template Engine to UTF-8 last Summer. That helped a lot, and it is possible now to make all Templates in Japanese. But usually Japanese is one of the most Problems because there are about 7-8 different Encodings and with UTF-8 it is like "It just works" Ken On 2010/05/13, at 19:14, Chuck Hill wrote: I would not get too excited. I will guess that Ken's string files contain Japanese text which uses a double byte encoding in Unicode. That is easy to detect. Western European languages use mostly single byte encoding which is harder to differentiate from non-Unicode. IIRC, that is the problem that WO has in determining the encoding. Chuck On May 13, 2010, at 4:41 AM, Ramsey Lee Gurley wrote: That sounds promising. I'll have to try it again sometime Ken. Last time I attempted it, only UTF-16 worked for me. UTF-8 would be better because when I create a new project using a project template, the .strings are always UTF-8. WOLips doesn't seem to have a way to mark them UTF-16 in a template. I'd prefer one encoding so I simply don't have to think about it. Ramsey On May 13, 2010, at 2:40 AM, ISHIMOTO Ken wrote: In my Project every file is UTF-8, also the .string files. With UTF-8 everywhere Multi language Application are happy and no trouble anymore. FrontBase do a got Job in UTF-8 do and it is much easier to use it everywhere as have to deal with a lot different encodings in an application. Greetings Ken Ishimoto iPadから送信 On 2010/05/12, at 21:34, Anjo Krank wrote: You can edit the files with the built-in editor, which replaces, say, A| with \U00e4. Then you can save them as plain ascii. Cheers, Anjo Am 12.05.2010 um 21:28 schrieb Ramsey Gurley: +1 UTF-16 big endian, no BOM (UTF-16BE in Eclipse) Ramsey On May 12, 2010, at 2:53 PM, David Holt wrote: 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 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
Re: Eclipse/WOLips Strange Chinese Characters
I am using English, German and japanese with WO now, and all 3 Language have no Problems with UTF-8. But you are right there are many other Language out there. Also thanks to Mike for fixing the Velocity Template Engine to UTF-8 last Summer. That helped a lot, and it is possible now to make all Templates in Japanese. But usually Japanese is one of the most Problems because there are about 7-8 different Encodings and with UTF-8 it is like "It just works" Ken On 2010/05/13, at 19:14, Chuck Hill wrote: > I would not get too excited. I will guess that Ken's string files contain > Japanese text which uses a double byte encoding in Unicode. That is easy to > detect. Western European languages use mostly single byte encoding which is > harder to differentiate from non-Unicode. IIRC, that is the problem that WO > has in determining the encoding. > > > Chuck > > > On May 13, 2010, at 4:41 AM, Ramsey Lee Gurley wrote: > >> That sounds promising. I'll have to try it again sometime Ken. Last time I >> attempted it, only UTF-16 worked for me. UTF-8 would be better because when >> I create a new project using a project template, the .strings are always >> UTF-8. WOLips doesn't seem to have a way to mark them UTF-16 in a template. >> I'd prefer one encoding so I simply don't have to think about it. >> >> Ramsey >> >> On May 13, 2010, at 2:40 AM, ISHIMOTO Ken wrote: >> >>> In my Project every file is UTF-8, also the .string files. >>> >>> With UTF-8 everywhere Multi language Application are happy and no trouble >>> anymore. >>> >>> FrontBase do a got Job in UTF-8 do and it is much easier to use it >>> everywhere as have to deal >>> >>> with a lot different encodings in an application. >>> >>> Greetings Ken Ishimoto >>> >>> iPadから送信 >>> >>> On 2010/05/12, at 21:34, Anjo Krank wrote: >>> You can edit the files with the built-in editor, which replaces, say, A| with \U00e4. Then you can save them as plain ascii. Cheers, Anjo Am 12.05.2010 um 21:28 schrieb Ramsey Gurley: > +1 > > UTF-16 big endian, no BOM (UTF-16BE in Eclipse) > > Ramsey > > On May 12, 2010, at 2:53 PM, David Holt wrote: > >> 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 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 upd
Re: Eclipse/WOLips Strange Chinese Characters
I would not get too excited. I will guess that Ken's string files contain Japanese text which uses a double byte encoding in Unicode. That is easy to detect. Western European languages use mostly single byte encoding which is harder to differentiate from non-Unicode. IIRC, that is the problem that WO has in determining the encoding. Chuck On May 13, 2010, at 4:41 AM, Ramsey Lee Gurley wrote: That sounds promising. I'll have to try it again sometime Ken. Last time I attempted it, only UTF-16 worked for me. UTF-8 would be better because when I create a new project using a project template, the .strings are always UTF-8. WOLips doesn't seem to have a way to mark them UTF-16 in a template. I'd prefer one encoding so I simply don't have to think about it. Ramsey On May 13, 2010, at 2:40 AM, ISHIMOTO Ken wrote: In my Project every file is UTF-8, also the .string files. With UTF-8 everywhere Multi language Application are happy and no trouble anymore. FrontBase do a got Job in UTF-8 do and it is much easier to use it everywhere as have to deal with a lot different encodings in an application. Greetings Ken Ishimoto iPadから送信 On 2010/05/12, at 21:34, Anjo Krank wrote: You can edit the files with the built-in editor, which replaces, say, A| with \U00e4. Then you can save them as plain ascii. Cheers, Anjo Am 12.05.2010 um 21:28 schrieb Ramsey Gurley: +1 UTF-16 big endian, no BOM (UTF-16BE in Eclipse) Ramsey On May 12, 2010, at 2:53 PM, David Holt wrote: 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 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.
Re: Eclipse/WOLips Strange Chinese Characters
That sounds promising. I'll have to try it again sometime Ken. Last time I attempted it, only UTF-16 worked for me. UTF-8 would be better because when I create a new project using a project template, the .strings are always UTF-8. WOLips doesn't seem to have a way to mark them UTF-16 in a template. I'd prefer one encoding so I simply don't have to think about it. Ramsey On May 13, 2010, at 2:40 AM, ISHIMOTO Ken wrote: > In my Project every file is UTF-8, also the .string files. > > With UTF-8 everywhere Multi language Application are happy and no trouble > anymore. > > FrontBase do a got Job in UTF-8 do and it is much easier to use it everywhere > as have to deal > > with a lot different encodings in an application. > > Greetings Ken Ishimoto > > iPad$B$+$iAw?.(B > > On 2010/05/12, at 21:34, Anjo Krank wrote: > >> You can edit the files with the built-in editor, which replaces, say, .AN| >> with \U00e4. Then you can save them as plain ascii. >> >> Cheers, Anjo >> >> >> >> Am 12.05.2010 um 21:28 schrieb Ramsey Gurley: >> >>> +1 >>> >>> UTF-16 big endian, no BOM (UTF-16BE in Eclipse) >>> >>> Ramsey >>> >>> On May 12, 2010, at 2:53 PM, David Holt wrote: >>> 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$B$+$iAw?.(B > > On 2010/05/10, at 8:38, David Griffith 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 corru
Re: Eclipse/WOLips Strange Chinese Characters
In my Project every file is UTF-8, also the .string files. With UTF-8 everywhere Multi language Application are happy and no trouble anymore. FrontBase do a got Job in UTF-8 do and it is much easier to use it everywhere as have to deal with a lot different encodings in an application. Greetings Ken Ishimoto iPad$B$+$iAw?.(B On 2010/05/12, at 21:34, Anjo Krank wrote: > You can edit the files with the built-in editor, which replaces, say, .AN| > with \U00e4. Then you can save them as plain ascii. > > Cheers, Anjo > > > > Am 12.05.2010 um 21:28 schrieb Ramsey Gurley: > >> +1 >> >> UTF-16 big endian, no BOM (UTF-16BE in Eclipse) >> >> Ramsey >> >> On May 12, 2010, at 2:53 PM, David Holt wrote: >> >>> 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$B$+$iAw?.(B On 2010/05/10, at 8:38, David Griffith 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 (Webobjects-dev@lists.apple.com) >> Help/Unsubscribe/Update your Subscription: >> http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net >> >
Re: Eclipse/WOLips Strange Chinese Characters
You can edit the files with the built-in editor, which replaces, say, .AN| with \U00e4. Then you can save them as plain ascii. Cheers, Anjo Am 12.05.2010 um 21:28 schrieb Ramsey Gurley: > +1 > > UTF-16 big endian, no BOM (UTF-16BE in Eclipse) > > Ramsey > > On May 12, 2010, at 2:53 PM, David Holt wrote: > >> 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$B$+$iAw?.(B >>> >>> On 2010/05/10, at 8:38, David Griffith 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 (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net > > This email sent to ch...@global-village.net -- 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 wil
Re: Eclipse/WOLips Strange Chinese Characters
+1 UTF-16 big endian, no BOM (UTF-16BE in Eclipse) Ramsey On May 12, 2010, at 2:53 PM, David Holt wrote: 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 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 (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net This email sent to ch...@global-village.net -- 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 (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/ken%40ksroom.com This email sent to k...@ksroom.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/david%40infinityspain.com This email sent to da...@infinityspain.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev
Re: Eclipse/WOLips Strange Chinese Characters
I think that is only if you use them funny foreign languages that strange symbols to the Queen's Alphabet. ;-) UTF-8 (note NOT UTF8) is probably OK for non-western latin languages. Chuck On May 12, 2010, at 11:53 AM, David Holt wrote: 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 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 (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net This email sent to ch...@global-village.net -- 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 (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/ken%40ksroom.com This email sent to k...@ksroom.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/david%40infinityspain.com This email sent to da...@infinitys
Re: Eclipse/WOLips Strange Chinese Characters
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 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 (Webobjects-dev@lists.apple.com) >>> Help/Unsubscribe/Update your Subscription: >>> http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net >>> >>> This email sent to ch...@global-village.net >> >> -- >> 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 (Webobjects-dev@lists.apple.com) >> Help/Unsubscribe/Update your Subscription: >> http://lists.apple.com/mailman/options/webobjects-dev/ken%40ksroom.com >> >> This email sent to k...@ksroom.com > > > ___ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/webobjects-dev/david%40infinityspain.com > > This em
Re: Eclipse/WOLips Strange Chinese Characters
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 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 (Webobjects-dev@lists.apple.com) >> Help/Unsubscribe/Update your Subscription: >> http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net >> >> This email sent to ch...@global-village.net > > -- > 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 (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/webobjects-dev/ken%40ksroom.com > > This email sent to k...@ksroom.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/david%40infinityspain.com This email sent to da...@infinityspain.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.
Re: Eclipse/WOLips Strange Chinese Characters
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 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 (Webobjects-dev@lists.apple.com) >> Help/Unsubscribe/Update your Subscription: >> http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net >> >> This email sent to ch...@global-village.net > > -- > 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 (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/webobjects-dev/ken%40ksroom.com > > This email sent to k...@ksroom.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Eclipse/WOLips Strange Chinese Characters
Yeah, have already done all that and no difference. Regards, David. On 10 May 2010, at 18:07, Chuck Hill wrote: On May 9, 2010, at 11:38 PM, David Griffith 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. Right click on any file and select Properties. Chuck 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 (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net This email sent to ch...@global-village.net -- 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 (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net This email sent to ch...@global-village.net -- 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 (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Eclipse/WOLips Strange Chinese Characters
On May 9, 2010, at 11:38 PM, David Griffith 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. Right click on any file and select Properties. Chuck 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 (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net This email sent to ch...@global-village.net -- 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 (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net This email sent to ch...@global-village.net -- 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 (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Eclipse/WOLips Strange Chinese Characters
On 2010-05-10, at 2:38 AM, David Griffith 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. Eclipse -> Preferences -> General -> Workspace -> Text file encoding This is the Workspace default, it can be overridden by ctrl clicking on any object (file or folder) and selecting Properties -> Text file encoding. > > 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 (Webobjects-dev@lists.apple.com) >> Help/Unsubscribe/Update your Subscription: >> http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net >> >> This email sent to ch...@global-village.net > > -- > 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 (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/webobjects-dev/dleber_wodev%40codeferous.com > > This email sent to dleber_wo...@codeferous.com ;david -- David LeBer Codeferous Software 'co-def-er-ous' adj. Literally 'code-bearing' site: http://codeferous.com blog: http://davidleber.net profile:http://www.linkedin.com/in/davidleber twitter:http://twitter.com/rebeld -- Toronto Area Cocoa / WebObjects developers group: http://tacow.org ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Eclipse/WOLips Strange Chinese Characters
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 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 (Webobjects-dev@lists.apple.com) >> Help/Unsubscribe/Update your Subscription: >> http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net >> >> This email sent to ch...@global-village.net > > -- > 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 (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/webobjects-dev/ken%40ksroom.com > > This email sent to k...@ksroom.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Eclipse/WOLips Strange Chinese Characters
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 (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net > > This email sent to ch...@global-village.net -- 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 (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Eclipse/WOLips Strange Chinese Characters
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 (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net This email sent to ch...@global-village.net -- 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 (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Eclipse/WOLips Strange Chinese Characters
Some more notes - updating Eclipse did not help although I didn't really think it would. The same thing is happening when editing the WOD file. Once I edit and save it, even to add/remove a character, it's like it is saving it in some strange foreign format that is not recognisable when WO tries to parse the file, although it looks perfectly fine in Eclipse. I get the same behaviour as below in the WOD file. This happens in one WO Component, but in another it's perfectly fine and I can update it as I like with no problems. I suspected corrupted files so I re-copied them from the originals, they work fine until I edit them, then the same behaviour. It's crazy. Makes no sense to me. Regards, David. On May 9, 2010, at 9: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 (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/david%40infinityspain.com This email sent to da...@infinityspain.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Eclipse/WOLips Strange Chinese Characters
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 (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com