HighTechTalks DotNet Forums  

NewLine Characters in string table

Dotnet Internationalization microsoft.public.dotnet.internationalization


Discuss NewLine Characters in string table in the Dotnet Internationalization forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Gordon
 
Posts: n/a

Default NewLine Characters in string table - 10-06-2004 , 03:46 PM






I am removing all strings from my code and adding to a
resource table, however I am unsure how to handle newline
constants. Currently my strings are
"blah blah \r\nMake your selection"

however when I add this string to the resource file and
get it using rm.GetSting(...) it just display the literal
text with no new line.

Help much appreciated?

Reply With Quote
  #2  
Old   
Nicole Calinoiu
 
Posts: n/a

Default Re: NewLine Characters in string table - 10-07-2004 , 10:55 AM






Gordon,

The VStudio resx editor has poor support for editing strings that contain
line breaks. To work around this problem, simply insert the desired line
breaks (press "enter" on the keyboard, don't type "\r\n") while editing the
resx file in XML view.

HTH,
Nicole


"Gordon" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
I am removing all strings from my code and adding to a
resource table, however I am unsure how to handle newline
constants. Currently my strings are
"blah blah \r\nMake your selection"

however when I add this string to the resource file and
get it using rm.GetSting(...) it just display the literal
text with no new line.

Help much appreciated?



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.