Site_Feedback

Topic   App doing weird stuff with apostrophes

sinnie
GameTZ Subscriber 500 Trade Quintuple Gold Good Trader
Global Trader - willing to trade internationally Secret Santa
24-Sep(#1)
Could be an iOS update because I did not notice this before ever. Basically turning apostrophe's into: '

For instance if I type I'll -- it'll turn into I'll
Happening for anything with an apostrophe.

image
My Candle Store
My Twitch
bill
GameTZ Gold Subscriber GameTZ Full Moderator 600 Trade Quintuple Gold Good Trader Gold Global Trader (15) Has Written 26 Reviews
24-Sep(#2)
I've noticed that too. Someone else suggested it may be from ios 11. I can try to convert it to a normal apostrophe. I assume it's some character set issue. I was going to look at it closer tomorrow.
SirConnery
I'll take "the penis mightier" for 400. GameTZ Subscriber 1000 Trade Quintuple Gold Good Trader
Secret Santa
25-Sep(#3)
ios 11 only lets you run 64bit apps and libraries if that makes any difference.
bill
GameTZ Gold Subscriber GameTZ Full Moderator 600 Trade Quintuple Gold Good Trader Gold Global Trader (15) Has Written 26 Reviews
25-Sep(#4)
Test from bill's iPad which is still running iOS 10.
bill
GameTZ Gold Subscriber GameTZ Full Moderator 600 Trade Quintuple Gold Good Trader Gold Global Trader (15) Has Written 26 Reviews
25-Sep(#5)
I think I've fixed it now.

I changed it on the server side. So, if website goes to print that weird set of characters, it replaces it with a simple ' character.
sinnie
GameTZ Subscriber 500 Trade Quintuple Gold Good Trader
Global Trader - willing to trade internationally Secret Santa
25-Sep(#6)
Yup all my old messages with the weirdness is fixed. TY !

image
My Candle Store
My Twitch
DiamondDave
The sad part is you can't distinguish satire from seriousness. GameTZ Subscriber 350 Trade Quintuple Gold Good Trader
Has Written 4 Reviews
25-Sep(#7)
It's a test
DiamondDave
The sad part is you can't distinguish satire from seriousness. GameTZ Subscriber 350 Trade Quintuple Gold Good Trader
Has Written 4 Reviews
25-Sep(#8)
Eyyyy. Thanks
bill
GameTZ Gold Subscriber GameTZ Full Moderator 600 Trade Quintuple Gold Good Trader Gold Global Trader (15) Has Written 26 Reviews
* 25-Sep(#9)
Hm, I noticed that if you quote-reply or edit a post with one, it's ugly in the edit box... maybe I should fix it before somewhere...

nah, I don't think that makes sense easier. It can be a little ugly, but I've never modified inputs before, and it seems best to not start doing that.
DiamondDave
The sad part is you can't distinguish satire from seriousness. GameTZ Subscriber 350 Trade Quintuple Gold Good Trader
Has Written 4 Reviews
25-Sep(#10)
Any idea what's actually breaking?
bill
GameTZ Gold Subscriber GameTZ Full Moderator 600 Trade Quintuple Gold Good Trader Gold Global Trader (15) Has Written 26 Reviews
* 25-Sep(#11)
I'm not 100% sure, but I assume when the app is used on ios (perhaps just 11?) and an apostrophe is typed, it sends the character for a fancy right-single-apostrophe ( looks like ' ) instead of the boring single-quote character (looks like ' -- this is much more common and compatible).

Apple is being fancy. It's sort of like if you're using a word processor, it will do this with quotes (similarly, double-quotes " can be " or " ...may have to look close to see the difference).

You might find something similar if you type a double quote... come to think of it and who knows what else they're being fancy about...

It's hard to say what's broken as you could blame various things along the chain. I tend to chose to keep things simple/compatible, so I blame Apple for being fancy. But, Apple likely thinks I should step up and make it disply right in every possible case. Apple does this sort of thing more often because they have absolute control over hardware/software and don't need to support lots of different platforms (e.g. if it looks good in Safari, they are done).

Anyway, I'm still thinking about it. Maybe there's a better place to hook it in somehow and cover all potential cases....

At this point, I'm not able to reproduce it myself (on my iPad). I'm holding off on upgrading to ios 11 because I don't want to get hosed. Usually wait for a .0 to get patched before I install unless they force me.
DiamondDave
The sad part is you can't distinguish satire from seriousness. GameTZ Subscriber 350 Trade Quintuple Gold Good Trader
Has Written 4 Reviews
25-Sep(#12)
I will note it didn't start happening until I updated to iOS 11.
bill
GameTZ Gold Subscriber GameTZ Full Moderator 600 Trade Quintuple Gold Good Trader Gold Global Trader (15) Has Written 26 Reviews
25-Sep(#13)
Oh, lol, I just tried viewing this topic and my latest post with the app (on ios 10) and it inserted some odd A with a hat character before all my examples. dead face.
DiamondDave
The sad part is you can't distinguish satire from seriousness. GameTZ Subscriber 350 Trade Quintuple Gold Good Trader
Has Written 4 Reviews
25-Sep(#14)
:o
bill
GameTZ Gold Subscriber GameTZ Full Moderator 600 Trade Quintuple Gold Good Trader Gold Global Trader (15) Has Written 26 Reviews
10-Oct(#15)
Bill's "quoted" 'text'-- is well... hi--there
bill
GameTZ Gold Subscriber GameTZ Full Moderator 600 Trade Quintuple Gold Good Trader Gold Global Trader (15) Has Written 26 Reviews
10-Oct(#16)
This is bill's 2nd "test" from mobile browser. --works? Or...
bill
GameTZ Gold Subscriber GameTZ Full Moderator 600 Trade Quintuple Gold Good Trader Gold Global Trader (15) Has Written 26 Reviews
* 10-Oct(#17)
I've been working on this more as it turned out to be more complicated and more broken than it seemed at first. I'm still not 100% sure what's going on, but I think it's comes down to ios 11 having "Smart punctuation" (it's actually in Settings->General->Keyboard, you can disable it but it's on by default, so I have to fix this). That's new and seems to be what changed such that Apple devices now send special punctuation characters in a handful of cases.

Apostrophes are just the most common case. It's also happens with single quotes, double quotes, en-dashes, em-dashes, and ellipsis. So, I'm now converting all of these to boring old characters early on when they are sent from the app. And, later on, I will convert them before showing text or sending notifications.

This seems to fix a number of problems. There was even a problem that cause the site to give 500 internal server errors (basically it crashes the web server a little [recovers fast] because it could not decode the special characters deep within some unrelated code I use that I didn't write, etc.). So, hopefully, that is fixed now and the site will run more smoothly. That problem would happen when using a mobile browser like Safari on iPhone (again because of "Smart punctuation").

Anyway... just wanted to let people know.

If things still don't seem right, let me know can I can look at it some more.
DiamondDave
The sad part is you can't distinguish satire from seriousness. GameTZ Subscriber 350 Trade Quintuple Gold Good Trader
Has Written 4 Reviews
10-Oct(#18)
yes I did notice it was in other characters as well but figured you'd be onto that. I'll play around with it a bit; were all of these server-side changes, or do we need to update the client?
bill
GameTZ Gold Subscriber GameTZ Full Moderator 600 Trade Quintuple Gold Good Trader Gold Global Trader (15) Has Written 26 Reviews
10-Oct(#19)
server side... it's a pain to update the app, so I'm avoiding that.

Topic   App doing weird stuff with apostrophes