×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Error displaying Japanese

Error displaying Japanese 15 years 6 months ago #1504

  • origamivn
  • origamivn's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
I used !JoomlaComment 3.26 and have error displaying Japanese.
compojoom.com/index.php/demo.html have error displaying Japanese too. -_-" How can fix it :( ?

Error displaying Japanese 15 years 6 months ago #1523

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
You can not post a symbol or what?

Error displaying Japanese 15 years 6 months ago #1534

  • origamivn
  • origamivn's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Some characters can't show.

see my site : migiai.com/ja/migiai-no-nikki/82-nhng-iu...inh-thy-kho-chu.html


I have a friend, he guided me correct the errors as follows:


Please take a look at the following two points.

1.You need change String Functions into Multibyte String Function.

substr -> mb_substr
strlen -> mb_substr

See also: PHP Ref. Multibyte String
jp.php.net/manual/en/book.mbstring.php

2. wordwrap function does not work with Multibyte String.So you do not use wrdwrap function.

comment.class.php LINE: 2458, 2459
//$parsedText = JOSC_utils::wrapText($parsed... << COMMENT OUT
//$parsedText = JOSC_utils::wrapText($parsed... << COMMENT OUT


You need to correct the following files.

components/com_comment/joscomment/comment.class.php
components/com_comment/joscomment/strutils.php
components/com_comment/joscomment/utils.php

Error displaying Japanese 15 years 6 months ago #1539

  • origamivn
  • origamivn's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Fixed
:cheer:
  • Page:
  • 1
Time to create page: 0.113 seconds