- This topic has 2 replies, 2 voices, and was last updated 17 years, 10 months ago by Greg.
-
AuthorPosts
-
Owen MeddMember(Running MyEclipse 5.1GA under Windows XP [sigh])
In the process of internationalizing our web site, I need to generate privacy statements in various languages. I have the source for these statements in MS Word documents.
First issue I’ve run into is that I can’t seem to add *.html.cs (for Czech language) as an html file type. Well, I can add it, but the file is not recognized as html.
Second issue is that cutting and pasting out of Word into the template html file results in not being able to save the file (characters not recognized in the cp1252 character set). I’ve changed my default character set in eclipse to UTF8 to try and work around this, but I’m open to wisdom from the collected masses on the best way to get this text into an html file.
I’m re-installing open office to see if it’s html output is more appealing to the html editor and perhaps doesn’t have the character translation issues. I notice that my first attempt at generating html out of MS Word looks great on my Windows box but once put onto the test web server (Apache/Linux), characters have obviously been munged.
Suggestions for getting this stuff in through MyEclipse?
Thanks for any bits of knowledge for this i18n newbie.
Owen MeddMemberApparently setting the default character set to UTF8 (NOT the document character set, that never worked) fixed the character munging. Hurray!
Still don’t have the *.html.cs and *.html.en files being treated as html. Ideas? Is the file association confused by multiple suffixes? Is there a different way to do this?
Owen
GregMemberThe best you can do is register *.cs and *.en pages as HTML files.
– Go to Window > Preferences > General > Content Type s > Text > HTML
– Under File associations use the “Add” button to add *.cs
– Click add again to add *.enThat should do it.
-
AuthorPosts