2019-07-20

Broken attachment filename with Apple mail

With Apple mail, Korean attachment filename is broken.
Attachment filename is encoded to UTF-8
Run the following command within Terminal, then restart Apple mail.
$ defaults write com.apple.mail NSPreferredMailCharset "UTF-8"

2019-07-02

Rotate 7" touchscreen of Raspberry PI


  • Add parameters to /boot/config.txt
    display_rotate=1
    dtoverlay=rpi-ft5406,touchscreen-swapped-x-y=1,touchscreen-inverted-x=1
    
  • Parameters
    Rotate display
    
    display_rotate=0 # normal
    display_rotate=1 # rotate 90°
    display_rotate=2 # rotate 180°
    display_rotate=3 # rotate 270°
    
    Touchscreen
    
    touchscreen-size-x      Touchscreen X resolution, default 800
    touchscreen-size-y      Touchscreen Y resolution, default 600
    touchscreen-inverted-x  Invert touchscreen X coordinates, default 0
    touchscreen-inverted-y  Invert touchscreen Y coordinates, default 0
    touchscreen-swapped-x-y Swap X and Y coordinates, default 0