Frictional Games Forum (read-only)

Full Version: Use of apostrophe
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

Hi there - I've had this problem for a while but since it's minor and I'm only about 25% of the way through completing my custom story I have left it for now, but it's time to get it sorted!


In the ".lang" file I am writing in things like Diary Entries and Loading Text as both are integral to the understanding of my story, but... when I use an apostrophe, for example when saying "Joseph's" - implying that something belongs to Joseph, it doesn't show in the loading text and it takes away the "s" character, making the message nonsensical.


Can anyone help me and tell me how to make an apostrophe which doesn't mess up the message in game?


I know in html you can write something like &_#38; and it makes an apostrophe, but I just tried that and it doesn't work. Is there an hpl2 scripting equivalent??


Thank you!
Ben
I remember having a problem like this, I think all you need to do is something like /'s

If I remember right, that's how I did it and it displays the apostrophe correctly then. Hope that works for you!
I never used apostrophes in my custom story (in the text itself, not in the name of the entry). So I can't really help here.
Thanks guys - I've figured it out now and I think it's a font issue. What happened was that the loading text captions were the first thing that I did on my custom story and I wrote them in word, which automatically exchanges apostrophes for "smart quotes", for which the default font in amnesia has no characters. I realised this as I was playing around with the /'s idea above and suddenly they started displaying! So... I re-wrote all of the apostrophes in notepad and now it all works fine! :-) thanks for your help anyways! If you need anything proofreading, I'm very good with language and story development.
FYI, i believe the proper HTML entity for use with the engine for the apostrophe is '
What I've learnt from my php programming class is that when atleast writing in php the escape sequences is written with a / before the sign for example when writing " you need to write /" for it to show up as text, but I'm not certain how html works for this engine
SilentStriker is correct. / is often used as an escape sequence for characters that cannot normally be displayed in text. (Like an " would be /" because " normally ends the string sequence.)
Forward slash is not the backslash. The backslash is what is used to "escape" characters.