Announcement

Collapse
No announcement yet.

About bbcode suport duble-byte languge

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • About bbcode suport duble-byte languge

    My vb version is b7. I find the vbcode font face tag can't work with duble-byte languge. Like this way:[font=some duble-byte words].

    In includes/functions_bbcodeparse.php,I think this line is a point.

    PHP Code:
     $bbcodes['standard']['find']['[font='] = '#\[font=("|"|\'|)([\w,\'\- ]*)\\1\](.*)\[/font\]#esiU'// {option} allows single quotes, spaces, commas, underscores, dashes and alpha-numeric 
    How to solve this problem?
    Thanks.
    Last edited by sunnyxp; Mon 1 Dec '03, 5:07am.

  • #2
    No reply?

    Comment


    • #3
      Code:
      $bbcodes['standard']['find']['[font='] = '#\[font=("|"|\'|)([^"]*)\\1\](.*)\[/font\]#esiU';
      Should work in theory, but it still might not allow every font you want. What sort of fonts are you trying to use?

      Comment


      • #4
        Originally posted by Mike Sullivan
        Code:
        $bbcodes['standard']['find']['[font='] = '#\[font=("|"|\'|)([^"]*)\\1\](.*)\[/font\]#esiU';
        Should work in theory, but it still might not allow every font you want. What sort of fonts are you trying to use?
        thank you. Mike.
        like this one[/font]

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        X