Grid

808 - Invalid UTF-8 character

> Please follow these instructions when submitting your ticket:
> 1. Write your answer to each question on a new line.
> 2. Change the "Markup Type" dropdown below this text box to "Markdown".
> 3. Delete these instructions.

### Grid version: 6.0.3.1740-beta and latest development branch 1753.

### WoW version, region, and language:
6.2.0 (20338)(Release x64)
US
English

### Character level, class, and spec:
Level 100 resto druid

### Does the problem still happen when all other addons -- including all Grid plugins -- are disabled?
Currently untested.  This issue has been difficult to reproduce.

### Does the problem still happen after switching to a new profile in Grid with default settings, logging out, and logging back in?
Currently untested.  This issue has been difficult to reproduce.

### If the problem does not happen with default settings, please attach your Grid [saved variables file](http://wowpedia.org/SavedVariables) to your ticket, and give the name of the character or profile that has the problem:

### What is the problem? What steps can I follow to reproduce it?

Grid gives a lua error (below).
The issue seems to occur when players with certain special characters join the raid.  I seem to come across it in LFR.

### Text of the first related [error message](http://wow.curseforge.com/addons/bugger/), if any, **WITHOUT** any appended lists of local variables or installed addons:

1x Grid\Libs\UTF8\utf8.lua:91 Invalid UTF-8 character
[C]: in function `error'
Grid\Libs\UTF8\utf8.lua:91 in function <Grid\Libs\UTF8\utf8.lua:61
Grid\Libs\UTF8\utf8.lua:222 in function <Grid\Libs\UTF8\utf8.lua:183
Grid\Indicators\Text.lua:87 in function `SetStatus'
Grid\Frame.lua:213 in function `SetIndicator'
Grid\Frame.lua:800 in function `UpdateIndicator'
Grid\Frame.lua:791 in function `UpdateIndicatorsForStatus'
Grid\Frame.lua:877 in function `?'
...er4\libs\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:145 in function <...er4\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:145
[string "safecall Dispatcher[14]"]:4: in function <[string "safecall Dispatcher[14]"]:4>
[C]: ?
[string "safecall Dispatcher[14]"]:13: in function `?'
...
[C]: ?
[string "safecall Dispatcher[3]"]:13: in function `?'
...er4\libs\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:90 in function `SendMessage'
Grid\Roster.lua:242 in function `?'
...er4\libs\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:145 in function <...er4\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:145
[string "safecall Dispatcher[2]"]:4: in function <[string "safecall Dispatcher[2]"]:4>
[C]: ?
[string "safecall Dispatcher[2]"]:13: in function `?'
...er4\libs\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:90 in function `Fire'
Bartender4\libs\AceEvent-3.0\AceEvent-3.0-3.lua:120 in function <Bartender4\libs\AceEvent-3.0\AceEvent-3.0.lua:119

Locals:

Another time:

3x Grid\Libs\UTF8\utf8.lua:153 Invalid UTF-8 character
[C]: in function `error'
Grid\Libs\UTF8\utf8.lua:153 in function <Grid\Libs\UTF8\utf8.lua:61
Grid\Libs\UTF8\utf8.lua:222 in function <Grid\Libs\UTF8\utf8.lua:183
Grid\Indicators\Text.lua:87 in function `SetStatus'
Grid\Frame.lua:213 in function `SetIndicator'
Grid\Frame.lua:800 in function `UpdateIndicator'
Grid\Frame.lua:791 in function `UpdateIndicatorsForStatus'
Grid\Frame.lua:877 in function `?'
...er4\libs\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:145 in function <...er4\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:145
[string "safecall Dispatcher[14]"]:4: in function <[string "safecall Dispatcher[14]"]:4>
[C]: ?
[string "safecall Dispatcher[14]"]:13: in function `?'
...
[C]: ?
[string "safecall Dispatcher[3]"]:13: in function `?'
...er4\libs\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:90 in function `SendMessage'
Grid\Roster.lua:242 in function `?'
...er4\libs\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:145 in function <...er4\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:145
[string "safecall Dispatcher[2]"]:4: in function <[string "safecall Dispatcher[2]"]:4>
[C]: ?
[string "safecall Dispatcher[2]"]:13: in function `?'
...er4\libs\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:90 in function `Fire'
Bartender4\libs\AceEvent-3.0\AceEvent-3.0-3.lua:120 in function <Bartender4\libs\AceEvent-3.0\AceEvent-3.0.lua:119

Locals:

### Anything else you think might be useful:

I am modifying the lib UTF-8 source code to tell me the value of "c" so I can figure out what characters are causing this issue.  I will post to this ticket when I identify the characters causing this issue.

I will attempt to fix this issue once I can identify the character causing the issue.  I am filing a ticket to track this bug.

User When Change
stassart Aug 03, 2015 at 08:32 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 2 comments
  • Avatar of stassart stassart Mar 08, 2016 at 07:17 UTC - 0 likes

    Another character (143) "Ń":

    1x Grid\Libs\UTF8\utf8.lua:159: Invalid UTF-8 character(143)
    [C]: in function `error'
    Grid\Libs\UTF8\utf8.lua:159: in function <Grid\Libs\UTF8\utf8.lua:61>
    Grid\Libs\UTF8\utf8.lua:228: in function <Grid\Libs\UTF8\utf8.lua:189>
    Grid\Indicators\Text.lua:87: in function `SetStatus'
    Grid\Frame.lua:213: in function `SetIndicator'
    Grid\Frame.lua:800: in function `UpdateIndicator'
    Grid\Frame.lua:791: in function `UpdateIndicatorsForStatus'
    Grid\Frame.lua:877: in function `?'
    ...er4\libs\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:145: in function <...er4\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:145>
    [string "safecall Dispatcher[14]"]:4: in function <[string "safecall Dispatcher[14]"]:4>
    [C]: ?
    [string "safecall Dispatcher[14]"]:13: in function `?'
    ...
    [C]: ?
    [string "safecall Dispatcher[3]"]:13: in function `?'
    ...er4\libs\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:90: in function `SendMessage'
    Grid\Roster.lua:242: in function `?'
    ...er4\libs\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:145: in function <...er4\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:145>
    [string "safecall Dispatcher[2]"]:4: in function <[string "safecall Dispatcher[2]"]:4>
    [C]: ?
    [string "safecall Dispatcher[2]"]:13: in function `?'
    ...er4\libs\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:90: in function `Fire'
    Bartender4\libs\AceEvent-3.0\AceEvent-3.0-3.lua:120: in function <Bartender4\libs\AceEvent-3.0\AceEvent-3.0.lua:119>
    
    Locals:
    
    Last edited Mar 08, 2016 by stassart
  • Avatar of stassart stassart Sep 24, 2015 at 04:42 UTC - 0 likes

    With some code to figure out what values are causing the issue:

    With the error adding the value of "c":

    error("Invalid UTF-8 character".."("..c..")")
    

    I've gotten the errors:

    1x Grid\Libs\UTF8\utf8.lua:159: Invalid UTF-8 character(164)
    1x Grid\Libs\UTF8\utf8.lua:159: Invalid UTF-8 character(165)
    

    "ñ" and "Ñ" are often in Spanish WoW character names. I am not sure why those would not be valid characters? However, those are from the extended ASCII returned by string.byte, not Unicode.

    I am going to need to spend more time to figure out what is going on here.

    Last edited Sep 24, 2015 by stassart
  • 2 comments

Facts

Reported
Aug 03, 2015
Status
New - Issue has not had initial review yet.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees