quik icon indicating copy to clipboard operation
quik copied to clipboard

✏️ [ FEAT REQ ] EMS emulation - text formatting

Open kompowiec opened this issue 9 months ago • 3 comments

EMS in the past, allows for basic text formatting – resizing, new lines, left, right, center, bold, italic, or underline.

Since most modern phones don’t support EMS i think nice to have workaround is using unicode characters for basic formatting in SMS:

Result Style
𝘠𝘰𝘶𝘳 𝘵𝘦𝘹𝘵 𝘩𝘦𝘳𝘦 italic
𝐘𝐨𝐮𝐫 𝐭𝐞𝐱𝐭 𝐡𝐞𝐫𝐞 bold
𝚈𝚘𝚞𝚛 𝚝𝚎𝚡𝚝 𝚑𝚎𝚛𝚎 monospace
Y̶o̶u̶r̶ ̶t̶e̶x̶t̶ ̶h̶e̶r̶e̶ strike
𝒀𝒐𝒖𝒓 𝒕𝒆𝒙𝒕 𝒉𝒆𝒓𝒆 bold-italic
𝒴ℴ𝓊𝓇 𝓉ℯ𝓍𝓉 𝒽ℯ𝓇ℯ script
𝓨𝓸𝓾𝓻 𝓽𝓮𝔁𝓽 𝓱𝓮𝓻𝓮 bold-script
Ⓨⓞⓤⓡ ⓣⓔⓧⓣ ⓗⓔⓡⓔ circled
𝘠̶𝘰̶𝘶̶𝘳̶ ̶𝘵̶𝘦̶𝘹̶𝘵̶ ̶𝘩̶𝘦̶𝘳̶𝘦̶ strike-italic
𝐘̶𝐨̶𝐮̶𝐫̶ ̶𝐭̶𝐞̶𝐱̶𝐭̶ ̶𝐡̶𝐞̶𝐫̶𝐞̶ strike-bold
𝒀̶𝒐̶𝒖̶𝒓̶ ̶𝒕̶𝒆̶𝒙̶𝒕̶ ̶𝒉̶𝒆̶𝒓̶𝒆̶ strike-bold-italic
𝚈̶𝚘̶𝚞̶𝚛̶ ̶𝚝̶𝚎̶𝚡̶𝚝̶ ̶𝚑̶𝚎̶𝚛̶𝚎̶ strike-monospace
𝔜𝔬𝔲𝔯 𝔱𝔢𝔵𝔱 𝔥𝔢𝔯𝔢 fraktur
𝖄𝖔𝖚𝖗 𝖙𝖊𝖝𝖙 𝖍𝖊𝖗𝖊 bold-fraktur
𝕐𝕠𝕦𝕣 𝕥𝕖𝕩𝕥 𝕙𝕖𝕣𝕖 double-struck

kompowiec avatar Feb 10 '25 21:02 kompowiec

Hi @kompowiec I discover EMS with your post and that could be nice to have this feature, but I think that your workaround is a false good idea because that break accessibility, portability and searchability ( more detail here for example: https://superuser.com/a/1160296 ).

I think that someone suggested to use markdown for that but I don't remember where.

Or if EMS is still in use, why not implement that standard QUIK ?

lascapi avatar Feb 11 '25 10:02 lascapi

@lascapi

I think that someone suggested to use markdown for that but I don't remember where.

maybe here :) https://github.com/octoshrimpy/quik/issues/17

Or if EMS is still in use, why not implement that standard QUIK ?

Since EMS was mainly supported by older feature phones (pre-2005) some workaround, is your best bet is to do. EMS technically sends as SMS but with extra formatting codes. Some modern networks strip EMS formatting, delivering plain SMS instead.

but I think that your workaround is a false good idea because that break accessibility, portability and searchability

yeah, it's true. but honestly, markdown formatting will only be visible to an SMS client that supports it. Similar to IRC, where you have mirc colors, but if the client doesn't support them, it will only see bushes. The good thing is that the markdown formatting is readable even if it is not rendered.

kompowiec avatar Feb 11 '25 11:02 kompowiec

markdown formatting will only be visible to an SMS client that supports it.

unless we convert markdown to EMS before sending. ;)

octoshrimpy avatar Feb 11 '25 19:02 octoshrimpy