Skip to content

Hybrid multi-language message be seperated #569

Closed

Description

@mayulu

General Information

  • MessageKit Version:0.13.1

  • iOS Version(s): 11.2

  • Swift Version:4.0

  • Devices/Simulators:iPhone6sPlus

  • Reproducible in ChatExample? (Yes/No):Yes

What happened?

When new message contains hybrid multi-language like Chinese + English, for example,"你好Jane", the message will be seperated in two messages: "你好" and "Jane"

What did you expect to happen?

The sent message should keep original one message.

Activity

  1. SD10 commented on Mar 18, 2018

    @SD10
    Member

    cc @nathantannar4 is this because of the example app and how the MessageInputBar handles images? We should probably fix the example if that is the case. Everyone is making that mistake 😓

    Sent with GitHawk

  2. SD10 commented on Mar 19, 2018

    @SD10
    Member

    @zhongwuzw Are you sure this is a bug and not because of this code?

  3. zhongwuzw commented on Mar 19, 2018

    @zhongwuzw
    Member

    @SD10 ,yep.It's a bug because of wrong attributes enumeration.
    I'll fix it later.

  4. sami79031 commented on Mar 20, 2018

    @sami79031

    The same thing happened to me when I type a word followed by an emoji. This happens especially when I send a message for the first time.

  5. zhongwuzw commented on Mar 20, 2018

    @zhongwuzw
    Member

    @mayulu , @sami79031 We would fix it when #577 merged.

  6. added 2 commits that reference this issue on Aug 1, 2018
    34dcda0
    5e5c80f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions