**** BEGIN LOGGING AT Fri Oct 27 03:00:02 2017 Oct 27 05:55:13 Weird. Seem to have missed some SMSes that were sent to me. Oct 27 05:55:55 Can see them being received and acknowledged at the right time in syslog, but never saw them through the UI. Oct 27 07:00:43 Maxdamantus: they probably contained smileys Oct 27 07:00:53 They did. Oct 27 07:01:05 there was a fix in tmo Oct 27 07:01:50 also i've noticed that some new phones send sms in wrong format Oct 27 07:02:12 isnt it priority issue for cssu? Oct 27 07:02:14 so sometimes they r treated as mms Oct 27 07:02:36 vajb, that's because mms is often sent for free Oct 27 07:02:36 It was an iPhone that sent them. Oct 27 07:02:52 while sms is most often overpriced Oct 27 07:02:57 So what's special about the smileys in iOS? Oct 27 07:03:01 maxd: utf Oct 27 07:03:04 most likely Oct 27 07:03:09 I'd've imagined they'd've just been Unicode, yeah. Oct 27 07:03:19 utf encoded in unicode? Oct 27 07:03:20 ;) Oct 27 07:03:44 Unicode encoded in whatever SMSes typically use to encode Unicode, which I suspect is UTF-8. Oct 27 07:04:32 sms uses plain ascii when doesnt contain any special chars (and then you are charged per ~160 chars), when it switches to utf, you pay twice as much Oct 27 07:04:46 .. so it uses UTF-16? Oct 27 07:04:52 yup Oct 27 07:05:06 Who came up with that idea? Oct 27 07:05:10 dont ask me Oct 27 07:05:29 but it was big money cow for telcos Oct 27 07:05:32 Surely they must've only started doing that long after UTF-8 was a thing. Oct 27 07:05:58 as people were trying to add language specific characters and weren't expecting Oct 27 07:06:06 nope Oct 27 07:06:24 it was when people started demanding localized phones Oct 27 07:06:25 ;) Oct 27 07:06:38 even old nokia 3310 has it Oct 27 07:06:48 and i suspect even older Oct 27 07:07:00 > The first commercially sold SMS service was offered to consumers, as a person-to-person text messaging service by Radiolinja (now part of Elisa) in Finland in 1993. Oct 27 07:07:26 which is about the same time as UTF-8 was invented. Oct 27 07:08:21 3310 was apparently made in 2000, again, long after UTF-8. Oct 27 07:11:38 I can imagine devices just having options to set some 8859-like encoding before there being an effort to use Unicode instead .. find it hard to imagine how everyone would switch to Unicode but end up using UTF-16. Oct 27 07:11:47 unless it really was at the very beginning of commercial SMS. Oct 27 07:17:06 https://en.wikipedia.org/wiki/SMS#cite_ref-3GPP_23.038_44-0 suggests that it's actually UCS-2, which would explain it. Oct 27 07:17:09 Fucking idiots. Oct 27 07:17:20 money money money Oct 27 07:18:21 it's so funny Oct 27 07:19:07 Well, UCS-2 doesn't give a monetary advantage over UTF-16. Oct 27 07:19:54 (I'm guessing you're referring to the fact that it more often has to send things as multiple messages because almost half of the messages are just zeroes) Oct 27 07:20:30 UCS-2 is just completely the wrong thing to use. Oct 27 07:20:35 yup Oct 27 07:21:03 even single localized character switches whole message into ucs-2 Oct 27 07:21:45 and since most people have some internet or mms package on their phones already, it's cheaper than sending sms Oct 27 07:21:55 apparently. Oct 27 07:22:01 which is just wrong. eh Oct 27 07:25:41 Mm .. if I try to send a message to myself that includes U+10000 in it, it says it fails to deliver, but syslog just gives stupid dbus errors. Oct 27 07:26:21 Oct 27 20:24:35 orcus user.crit rtcom-messaging-ui[26921]: GLIB CRITICAL ** default - dbus_g_error_get_name: assertion `error->code == DBUS_GERROR_REMOTE_EXCEPTION' failed Oct 27 07:27:04 Don't tell me dbus is restricted to UCS-2 too. Oct 27 07:27:28 yaaaay Oct 27 07:38:07 Can't access the tars linked to from http://talk.maemo.org/showthread.php?t=93427&page=2 , but it sounds like it's just a matter of replacing a "UCS-2" string passed to iconv with "UTF-16" Oct 27 07:43:09 Yep, that seemed to do it. Oct 27 07:43:45 Hopefully that zero byte that was after "UCS-2\0" wasn't important. Oct 27 07:45:44 Will try it properly with an iPhone later, but can at least send U+10000 to myself now. Oct 27 07:47:47 (for the record, I just used a hex editor to replace "UCS-2\0\0" with "UTF-16\0" in /usr/lib/libsms-utils.so.0.0.0) Oct 27 07:48:37 I'm guessing "UTF16\0" would probably also work if it's just passed to iconv, because I think iconv is fairly lenient about those names. Oct 27 07:48:51 (since "UTF16\0" and "UCS-2\0" have the same length) Oct 27 07:56:09 Ah, I guess this is the thing linked to by that thread: https://github.com/harmattan/emojifix Oct 27 07:57:13 Seems to effectively do the same thing, but it does it by linking to a different library instead of just changing the string directly. Oct 27 08:44:57 ~emojifix Oct 27 08:45:07 hmm. Oct 27 08:45:30 there was a thread on it somewhere Thomas Perl Oct 27 08:45:59 Ah yesy that github link will do Oct 27 08:47:09 More importantly, unicode wasn't anything invented by phone companies. ;-) Oct 27 08:47:33 unicode in SMS was always in the spec afaik Oct 27 08:48:02 hmm, not sure about *unicode* Oct 27 08:48:29 might be other specific codepages Oct 27 08:49:16 but the switch of whole SMS from one-byte to two-byte chars been there from beginning I'd say Oct 27 08:49:26 ah okay Oct 27 08:50:27 Didn't windows use UCS-2 before it became clear that unicode wouldn't stay at 16 bit? Oct 27 08:50:48 No. Oct 27 08:50:53 Because Windows didn't exist back then. Oct 27 08:50:58 I can't recall details. UCS rings a bell Oct 27 08:51:07 ~phonecontrol Oct 27 08:51:07 it has been said that phonecontrol is http://wiki.maemo.org/Phone_control Oct 27 08:52:33 actually, nvm, it did. I thought UTF-16 was older than it was. Oct 27 08:52:57 Hm, so UTF-16 was made in 1996 .. that's .. after UTF-8. Oct 27 08:53:09 I remember someone saying that windows is UCS-2 .. but then switched to UTF-16 at some point Oct 27 08:53:17 Maxdamantus, yep Oct 27 08:53:43 sth along >> ADDR_TYPE = 129 #unknown format<< Oct 27 08:55:12 https://www.startpage.com/do/search?q=SMS+encoding Oct 27 08:55:32 I didn't get something that suggested an unknown format. Oct 27 08:55:56 https://en.wikipedia.org/wiki/GSM_03.38 Oct 27 08:56:01 Oct 27 16:51:05 orcus user.notice telepathy-ring[1204]: GLIB MESSAGE Modem-SMS - deserializing SMS-DELIVER "..." failed: conversion failed (-10@SmsUtilssError) Oct 27 08:56:41 Oct 27 16:51:05 orcus user.warn sms-manager[857]: GLIB WARNING ** default - Error decoding TPDUs. Discarding message Oct 27 08:57:50 >>However, since modern programming environments do not provide encoders or decoders for UCS-2, some cell phones (e.g. iPhones) use UTF-16 instead of UCS-2<< Oct 27 08:59:01 >>his works, because for characters in the Basic Multilingual Plane (including full alphabets of most human languages) UCS-2 and UTF-16 encodings are identical. To encode characters outside of the BMP, such as emoticons, UTF-16 uses surrogate pairs, which when decoded with UCS-2 would appear as two valid but unmapped code points.<< Oct 27 08:59:02 That sounds a bit misleading. Oct 27 08:59:26 "n a standard GSM text message, all characters are encoded using 7-bit code units, packed together to fill all bits of octets" <- Ah this is the headache I remember Oct 27 09:00:03 UCS-2 isn't really designed to be encoded/decoded. Oct 27 09:00:20 ShadowJK: see http://wiki.maemo.org/Phone_control#Send_SMS for a fine (de)octettifier Oct 27 09:00:21 Because what would you encode/decode it to? Oct 27 09:01:00 You can convert between UCS-2 and UTF-8, or between UCS-2 and UTF-16, but some things in either direction simply can't be converted. Oct 27 09:01:17 def semi_octify(str): Oct 27 09:01:24 and Oct 27 09:01:25 def deoctify(arr): Oct 27 09:01:54 whereas UTF-8 and UTF-16 are real encodings, since they are both able to losslessly convert between each other and conceptually into "Unicode" code points. Oct 27 09:02:03 (as long as the UTF-8/UTF-16 strings are well-formed) Oct 27 09:02:36 oops def octify(str): Oct 27 09:06:07 also see my slightly patched version: http://maemo.cloud-7.de/maemo5/usr/local/bin/smscb.py Oct 27 09:13:05 So you can't octify one-character strings? Oct 27 09:13:12 UnboundLocalError: local variable 'bitstocopy' referenced before assignment Oct 27 09:17:48 This octify function in that Phone_control link looks like nonsense to me. Oct 27 09:19:34 Seems to work as the inverse of deoctify at least, as long as the string is not of length 1. Oct 27 09:21:18 or not. Oct 27 09:22:46 >>> oct.deoctify(oct.octify("a"*7)) Oct 27 09:22:47 'aaaaaaaB' Oct 27 09:28:07 and yeah, the SMS from the iPhone works now. Oct 27 09:41:42 I have my n900 on the newest cssu now (21.2011.38-1Tmaemo11) (testing branch) Oct 27 09:42:02 kernel-power Oct 27 09:42:16 now to uboot, I couldn find a lot about that, how would I install this? Oct 27 11:19:01 decompression 7->8: http://paste.opensuse.org/25469617 Oct 27 11:20:09 oops sorry Oct 27 17:43:48 * CatButts wonders if running Discord on the Maemo is even feasible Oct 27 17:54:34 i'd like that Oct 27 17:55:45 i would think the hardware could handle it Oct 27 19:10:48 Discord is a piece of doo-doo, anyway Oct 27 19:11:16 but hey, if it's what your friends use, that's life Oct 27 19:11:38 yeah Oct 27 19:11:53 oh, this reminds me Oct 27 19:12:03 does Skype for N900 still work? Oct 27 19:24:25 Discord refer you to the web app for linux Oct 27 19:24:51 looks like there is a beta for 64 bit only Oct 27 19:26:06 64butts Oct 27 19:26:49 https://github.com/EionRobb/purple-discord Oct 27 19:27:05 this might be a starting point for such an endeavour **** ENDING LOGGING AT Sat Oct 28 03:00:02 2017