View Issue Details

IDProjectCategoryView StatusLast Update
0009579New issuesClientpublic2017-04-23 23:46
ReporterXeniusAssigned Toqaisjp 
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionno change required 
Summary0009579: [Request] onClientSoundChangedMeta utf8 support
Description

If in stream title are special characters, stream title is bugged.
Example:
Pápai Joci - Origo ---->>> Stream Title will only "P", but if stream title is Papai Joci - Origo then stream title show fully

TagsNo tags attached.

Activities

[THC]Lars-Marcel

2017-04-05 15:04

viewer   ~~0025800

Try using utf8.escape, for me it works with chars like öäüß.

Example:
local function updateLiveMetas(title)
title = utf8.escape(title)
title = string.gsub(title, "\r", " ")
title = string.gsub(title, "\n", " ")

LIVE_META = title

end
addEventHandler("onClientSoundChangedMeta", source, updateLiveMetas)

ccw

2017-04-07 01:49

administrator   ~~0025802

Please supply an example stream using the problem characters

Xenius

2017-04-08 15:09

viewer   ~~0025806

@Lars-Marcel thank you.
@ccw sorry, this is not mta bug

Issue History

Date Modified Username Field Change