special sign

  • Thread starter Thread starter Matthias
  • Start date Start date
M

Matthias

Hi guys,

I hope you understand me.
We are programming an asp.net page and our company decided not to use
the resource-files because we use text-files which are doing the same
like the resource-files. In these text-files there are texts with
these signs: "" I don't know the word in english for it. The texts are
loaded by a function.
But in the labels where to show the texts there are no "". But why? I
tried to use the @ but nothing changes. If I use a backslash \" then
the backslash is written in the label. But I don't want the backslash.
If I use it twice ("") then there is only one " in the label but only
if the "" are around the string. If the "" is in the string then there
are "" in the label. I will only have one ". If I write these signs
"", then on the label is "". I want it so. But I can't tell the user
to write "" instead of "". What can I do?
 
Matthias said:
Hi guys,

I hope you understand me.
We are programming an asp.net page and our company decided not to use
the resource-files because we use text-files which are doing the same
like the resource-files. In these text-files there are texts with
these signs: "" I don't know the word in english for it. The texts are
loaded by a function.
But in the labels where to show the texts there are no "". But why? I
tried to use the @ but nothing changes. If I use a backslash \" then
the backslash is written in the label. But I don't want the backslash.
If I use it twice ("") then there is only one " in the label but only
if the "" are around the string. If the "" is in the string then there
are "" in the label. I will only have one ". If I write these signs
"", then on the label is "". I want it so. But I can't tell the user
to write "" instead of "". What can I do?

The name is "quote". " is a double quote, ' a single quote.

Is your file a plain ASCII file? What exactly is the format of those files,
how are your strings identified there?
How do you read in those strings? How do you select the string you want?
How do you put them into the html output?
Somewhere along the line the quotes are forgotten. What shows up in
the html-source in the browser?

The "@" is just a compiler note meaning: don't treat a "\" as special (so "\n" is just
"a backslash followed by an 'n'").

Hans Kesting
 
Matthias said:
I hope you understand me.
We are programming an asp.net page and our company decided not to use
the resource-files because we use text-files which are doing the same
like the resource-files. In these text-files there are texts with
these signs: "" I don't know the word in english for it. The texts are
loaded by a function.
But in the labels where to show the texts there are no "". But why? I
tried to use the @ but nothing changes. If I use a backslash \" then
the backslash is written in the label. But I don't want the backslash.
If I use it twice ("") then there is only one " in the label but only
if the "" are around the string. If the "" is in the string then there
are "" in the label. I will only have one ". If I write these signs
"", then on the label is "". I want it so. But I can't tell the user
to write "" instead of "". What can I do?

Please post the code you're using to read the text files.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top