rejetto forum
Software => HTML & templates => HFS ~ HTTP File Server => RAWR-Designs => Topic started by: letterboy on September 18, 2008, 03:57:20 AM
-
Is that normal? My template can't load after saving as UTF-8.
The template turns out nothing which only leaves the folder structure.
When i read the code from browser.... the css section read as " /template/theme/code/theme_main.css " <--- it means nothing... :-\
But when i saved back to ANSI, it is correctly displayed.
As i need to do some typing using chinese words on the main template, i need to save it as UTF-8 otherwise cannot be displayed.
Any solutions?
By the way, it works when i use "diff template" typing inside the HFS with chinese words, displayed correctly under utf-8 page.
Thanks
-
This is HFS I think, Which template are you talking about? Cause I have managed to get Chinese language files working with the RAWR-Template, and they are saved as UTF-8, I think. The template might be ANSI still though, I don't know.
EDIT:
Wait... 'theme' is a string variable in HFS... {.!theme.} maybe you have deleted the value for it in the translation?
-
hmm .... first, i am using RAWR 0.1.1. i did not delete any strings , the {.theme!.} still inside the files.
What i am doing is just save the RAWR-template-0.1.1.tpl from ANSI to UTF-8 ( using the notepad way to save)...suppose the code will change all stuff to utf-8 this way.
But seems HFS can't read the template after i saved the template as UTF-8 format..., I have also checked the language (cn) files, they were all saved as UTF-8 currently.
What i would like to do is just typing a few chinese words inside the RAWR-template-0.1.1.tpl.
As you know, we don't know how to type UTF-8 chinese words , we can only type "Big5"tho.....
When i changed the Browser language to Big5 , i can read back the chinese words .... but the template UTF-8 code will come a mess......
Any more solutions?
Thanks for your prompt reply...Steven.
;)
-
I searched the post , rejetto said we must use ANSI for the main template , diff template are auto converted to UTF-8.
What i think is HFS does not CONVERT the main template to UTF-8, it just leaves the template to ANSI.
So it can't read the code inside after we saved the file to UTF-8 ... am I right?
Rejetto might leave the ANSI option as default because it might be problem if it were encoded to UTF-8......
Hope it will fix it.
:-X
-
sorry for being late.
I don't remember about older versions, but current beta does not convert the main template.
Indeed i tried to save it as ANSI, and special chars didn't work.
Tried saving UTF-8 and all was fine.
This for what concerns the main template (didn't test diff tpl)