I spent a long time metaphorically beating a bush because English showed up in 
my app, and so did Icelandic (all characters within the scope of the first UTF8 
frame) but Chinese did not.

Adding this to the Application() constructor was the solution:

        setDefaultEncoding( "UTF-8" );



On 23.10.2013, at 19:50, Samuel Pelletier <sam...@samkar.com> wrote:

> Theodore,
>
> Your fix (turning off the Ellipsis function) indicate that you app does not 
> set it's encodings properly.
>
> The ellipsis should save (they save in my apps).
>
> Your HTML should began with something like this after the doctype declaration:
> <head>
>       <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
>
> Your property file these settings:
> er.extensions.ERXApplication.DefaultEncoding=UTF-8
> er.extensions.ERXApplication.DefaultMessageEncoding=UTF-8
>
> I also add this one too in the Monitor to change the default file encoding so 
> plist and .string files works in UTF-8: -file.encoding UTF-8
>
>
> You may want to keep multiple dots but this is another discussion and easily 
> fixed with a String.replaceAll()...
>
> Samuel
>
> Le 2013-10-23 à 13:49, Theodore Petrosky <tedp...@yahoo.com> a écrit :
>
>> I just updated one of my workstations to the newest Safari. In one of my 
>> Wonder Apps, I have an AjaxInPlaceEditor in a table.
>>
>> My Entity has a method:
>>
>>      public String statusWithNull() {
>>
>>              if (this.itemStatus() == null || this.itemStatus().length() == 
>> 0) {
>>                      return "Status ......";
>>              }
>>              return this.itemStatus();
>>      }
>>
>> Obviously, if the itemStatus is null I am returning "Status ……"
>>
>> In the new Safari, if the user clicks on the inPlaceEditor, she will get an 
>> text area to edit and the "Status ……" shows up. Her job is to place an 'X' 
>> at the end of the dots. when she does this in the newest Safari she sees 
>> "Status ...…X"
>>
>> It seems that the newest Safari is substituting "…" for the last three 
>> periods. This is what is stored "Status ...<C3><A2><C2><80><C2><A6>X" in the 
>> backend.
>>
>> My work around is to get her to use Firefox, but I would like to find what I 
>> did wrong. this is the top of my HTML:
>>
>> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
>>  "http://www.w3.org/TR/html4/loose.dtd";>
>>
>> <html lang="en">
>>
>> My feeling is that somehow, Safari is translating the three dots into an 
>> Ellipsis and screwing the pooch.
>> _______________________________________________
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/samuel%40samkar.com
>>
>> This email sent to sam...@samkar.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:
> https://lists.apple.com/mailman/options/webobjects-dev/thors%40samgongustofa.is
>
> This email sent to th...@samgongustofa.is


________________________________

Fyrirvari á tölvupósti / e-mail disclaimer
http://samgongustofa.is/fyrirvari/

 _______________________________________________
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to