diff options
| author | Dustin Mierau <dustin@mierau.me> | 2024-01-17 23:21:58 -0800 |
|---|---|---|
| committer | Dustin Mierau <dustin@mierau.me> | 2024-01-17 23:21:58 -0800 |
| commit | 28dc26278a11b38683146e653ceb9727611288c9 (patch) | |
| tree | a7378424e2eb6eb67f5cfc6e44c9fe3bfe0e0174 /Hotline | |
| parent | 1b303803e53dbeb24dab1a7c714d71ee14f002db (diff) | |
Send message board posts encoded with Mac OS Roman string encoding. I think this needs to be looked at further though... is UTF-8 really not an option? Hmm.
Diffstat (limited to 'Hotline')
| -rw-r--r-- | Hotline/Assets.xcassets/hotlineRed.colorset/Contents.json | 38 | ||||
| -rw-r--r-- | Hotline/Hotline/HotlineClient.swift | 2 |
2 files changed, 1 insertions, 39 deletions
diff --git a/Hotline/Assets.xcassets/hotlineRed.colorset/Contents.json b/Hotline/Assets.xcassets/hotlineRed.colorset/Contents.json deleted file mode 100644 index 1f6e488..0000000 --- a/Hotline/Assets.xcassets/hotlineRed.colorset/Contents.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "colors" : [ - { - "color" : { - "color-space" : "srgb", - "components" : { - "alpha" : "1.000", - "blue" : "0x00", - "green" : "0x00", - "red" : "0xE1" - } - }, - "idiom" : "universal" - }, - { - "appearances" : [ - { - "appearance" : "luminosity", - "value" : "dark" - } - ], - "color" : { - "color-space" : "srgb", - "components" : { - "alpha" : "1.000", - "blue" : "0x00", - "green" : "0x00", - "red" : "0xE1" - } - }, - "idiom" : "universal" - } - ], - "info" : { - "author" : "xcode", - "version" : 1 - } -} diff --git a/Hotline/Hotline/HotlineClient.swift b/Hotline/Hotline/HotlineClient.swift index 2048149..7006c59 100644 --- a/Hotline/Hotline/HotlineClient.swift +++ b/Hotline/Hotline/HotlineClient.swift @@ -490,7 +490,7 @@ class HotlineClient: NetSocketDelegate { } var t = HotlineTransaction(type: .oldPostNews) - t.setFieldString(type: .data, val: text) + t.setFieldString(type: .data, val: text, encoding: .macOSRoman) self.sendPacket(t) } |