Re: this was never an issue before.
Re: this was never an issue before.
- Subject: Re: this was never an issue before.
- From: Þór Sigurðsson <email@hidden>
- Date: Thu, 24 Oct 2013 07:54:23 +0000
- Thread-topic: this was never an issue before.
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 <email@hidden> 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 <email@hidden> 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 (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
________________________________
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden