AndreRush
-
Posts
3 -
Joined
-
Last visited
Content Type
Forums
Blogs
Knowledge Base
Posts posted by AndreRush
-
-
I went through llUnescapeURL() earlier hoping/praying, but no dice.
Are you aware of any other ways to access profile text? From what I saw, there's no direct access in world, but feel free to tell me there is llGetProfileTextAlsoAndreHowDidYouMissThat haha -
Edit: Solved below!
Hey ya'll, first time poster, short time lurker!I'm currently using llHTTPRequest to fetch profile information from https://world.secondlife.com, eg https://world.secondlife.com/resident/3b1b8cdf-6768-44e7-88a7-669f88d8a864
However, what is being returned is using HTML for punctuation. 0
Eg
I'm new, god help me
is returned as
I'm new, god help me
I understand that it's just fetching the raw HTML. But is there a way to either....- Convert that into normal text?
- Tell it to fetch the normal text in the first place?
Thanks in advance!
SOLVED: Convert HTML from llHTTPRequest into plain text? (HTML and XML coded characters converted to Unicode)
in LSL Scripting
Posted · Edited by AndreRush
Thanks so much gang
I added this in this afternoon, and it caught most of the problematic characters. Thanks especially Jenna Huntsman for handling the initial heavy lifting!
The only thing I added was handling for XML characters mentioned here: https://en.wikipedia.org/wiki/Character_encodings_in_HTML#XML_character_references
It seems like all the characters that were being encoded are ones that might have an impact on HTML/XML.
Other than that, 𝓾𝓷𝓬𝓸𝓶𝓶𝓸𝓷 𝓬𝓱𝓪𝓻𝓪𝓬𝓽𝓮𝓻𝓼 𝓲𝓷 𝓹𝓻𝓸𝓯𝓲𝓵𝓮𝓼 𝓬𝓸𝓶𝓮 𝓽𝓱𝓻𝓸𝓾𝓰𝓱 𝓳𝓾𝓼𝓽 𝓯𝓲𝓷𝓮 ♥●•٠·˙
There's probably a better way to structure them, but here's my edits anyhow