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 protected]> 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 protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/samuel%40samkar.com
>
> This email sent to [email protected]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]