Bugzilla – Bug 321011
[PATCH] Resgen doesn't parse \n properly.
Last modified: 2007-09-15 21:24:57 UTC
---- Reported by don@edvalson.net 2006-05-02 15:42:33 MST ---- When processing a text file to create a resource file, resgen should replace the sequence \n by a new line. Instead, it leaves it as backslash n. For example, the text file includes: Message=This is a message\n\nThis should be on the next line The Microsoft resource compiler produces: This is a message This should be on the next line The Mono resource compiler produces: This is a message\n\nThis should be on the next line ---- Additional Comments From robertj@gmx.net 2006-05-02 16:14:42 MST ---- it's a mcs/tools/resgen/monoresgen.cs:TxtResourceReader issue -> Mono tools ---- Additional Comments From robertj@gmx.net 2006-05-02 18:20:58 MST ---- The patch enables \n-like escapes in both directions. ---- Additional Comments From robertj@gmx.net 2006-05-02 18:21:38 MST ---- Created an attachment (id=169726) monoresgen.diff ---- Additional Comments From gonzalo@ximian.com 2006-05-02 18:27:35 MST ---- Please, commit. Thanks. ---- Additional Comments From robertj@gmx.net 2006-05-02 19:26:34 MST ---- Fixed in SVN HEAD r60197. ---- Additional Comments From robertj@gmx.net 2006-09-29 10:30:55 MST ---- *** https://bugzilla.novell.com/show_bug.cgi?id=MONO54703 has been marked as a duplicate of this bug. *** Imported an attachment (id=169726) Unknown bug field "cf_op_sys_details" encountered while moving bug <cf_op_sys_details>Windows XP SP2</cf_op_sys_details> Unknown operating system unknown. Setting to default OS "Other".