Project:
RSS

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0009579New issuesClientpublic2017-03-27 20:232017-04-23 23:46
ReporterXenius 
Assigned Toqaisjp 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionno change required 
PlatformOSOS Version
Summary0009579: [Request] onClientSoundChangedMeta utf8 support
DescriptionIf 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.
Attached Files

- Relationships

-  Notes
(0025800)
[THC]Lars-Marcel (viewer)
2017-04-05 15:04

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)
(0025802)
ccw (administrator)
2017-04-07 01:49

Please supply an example stream using the problem characters
(0025806)
Xenius (viewer)
2017-04-08 15:09

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

- Issue History
Date Modified Username Field Change
2017-03-27 20:23 Xenius New Issue
2017-04-05 15:04 [THC]Lars-Marcel Note Added: 0025800
2017-04-07 01:49 ccw Note Added: 0025802
2017-04-08 15:09 Xenius Note Added: 0025806
2017-04-23 23:46 qaisjp Status new => closed
2017-04-23 23:46 qaisjp Assigned To => qaisjp
2017-04-23 23:46 qaisjp Resolution open => no change required


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker