[Help] Special Characters
#1

Hey guys, I've ran into an issue with special characters which I couldn't figure on my own.

I've been saving a text (File Or MySQL) which is used in dialogs.
The problem is that when I load this text and try to display it, special characters don't do anything, they just show as they are.

For example, if I got this text in my DB:

"Hello\n\nNew Player"

When loading it, it shows the same way instead of showing like this:

Quote:

Hello

New Player

Any ideas on how to apply the special characters from a loaded string?
Reply
#2

Because its '\n' not "\n", notice the '', its only one character

You could save directly put new lines in the text or you create some code that fixes that
Reply
#3

Oh, so while saving the text It was actually saved as a part of the text?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)