Upgrade to Pro — share decks privately, control downloads, hide ads and more …

edirrevro_tfel-ot-thgiR

 edirrevro_tfel-ot-thgiR

Takayuki_Sei

August 23, 2018
Tweet

More Decks by Takayuki_Sei

Other Decks in Programming

Transcript

  1. edirrevro tfel-ot-thgiR

    View full-size slide

  2. @daybysay
    GREE, Inc.
    Wright Flyer Live Entertainment, Inc.

    View full-size slide

  3. U+202Eʹ͝༻৺

    View full-size slide

  4. 8/11 ݄ϊඒ㙽
    REALITY ॳϥΠϒ഑৴ͷ೔

    View full-size slide

  5. ໊લͱίϝϯτ͕
    ٯస͍ͯ͠Δਓ͕͍Δ!?
    Σʢёʣ

    View full-size slide

  6. ϩά΍؅ཧը໘पลͷ
    จষ΋ٯసͯ͠Δ!?
    Σʢёʣ

    View full-size slide

  7. ݁࿦
    Ϣʔβ໊ͷઌ಄ʹ
    U+202E(Right-to-left override, RLO)͕ೖ͍ͬͯͨ

    View full-size slide

  8. U+202E?
    • UnicodeͰنఆ͞Ε͍ͯΔ੍ޚจࣈ
    • U+202EҎ߱ͷจࣈྻΛڧ੍తʹӈ͔Βࠨ΁ද

    • U+202D(Left-to-right override, LRO)΍ɺଞʹ
    ΋දࣔํ޲Λม͑Δ੍ޚจࣈ͕ଘࡏ͢Δ

    View full-size slide

  9. ͲͷΑ͏ʹରԠ͢΂͖͔ʁ
    • τϦϜ or ڋ൱
    • ྫ͑͹Twitter͸Լهͷ༷ʹରԠ͍ͯ͠Δ
    • Ϣʔβ໊: ෆਖ਼ͳจࣈ൑ఆͯ͠Τϥʔ
    • ౤ߘ: τϦϜͯ͠౤ߘ

    View full-size slide

  10. SwiftͰͷU+202E൑ఆ

    View full-size slide

  11. ·ͱΊ
    • U+202E౳ͷදࣔํ޲Λม͑Δ੍ޚจࣈ͕ଘࡏ͢
    Δ
    • จࣈΛදࣔ͢Δ͋ΒΏΔՕॴʹӨڹ͕ग़͏Δ
    • ݟͨ໨্ͷํ޲Λม͑ΔͨΊͷ੍ޚจࣈ͕ೖྗ͞
    Εͨ৔߹ͷӨڹɾରࡦΛߟ͑Δ
    • ൑ఆ͸String.containsͰՄೳ

    View full-size slide

  12. ͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠
    @daybysay
    ΤϯδχΞืूத!!

    View full-size slide