Menu

#45 UTF8 and spaces

v1.3
open
nobody
UTF8 (1)
5
2015-10-08
2015-10-08
Elyos
No

Hi!

I think there is a problem with UTF8 characters and space just after.

Example :

Content of utf8.txt (spaces added after each characters) :

English text: Hello world
Lithuanian text: L i e t u v i š k o s r a i d ė s ą č ę ė į š ų ū ž Ą Č Ę Ė Į Š Ų Ū Ž
Russian text: р у с с к и й т е х т .

Output :

English text: Hello world
Lithuanian text: L i e t u v i šk o s r a i d ės ąčęėįšųūžĄČĘĖĮŠŲŪŽ
Russian text: русскийтехт.

Bug :
Space after UTF8 characters disapeared...

Any issue?

Discussion

  • Elyos

    Elyos - 2015-10-08

    The problem doesn't exist in 1.1.1 version ... I search ...

     
  • Elyos

    Elyos - 2015-10-08

    File : Utf8.php
    Line : 109

    Replace
    ? '\uc0\u' . $value
    by
    ? '\uc0{\u' . $value . '}'

    And it will work ;)

     

Log in to post a comment.