kolber / stacey

Cheap & easy content management
http://staceyapp.com
MIT License
1.04k stars 131 forks source link

"Ñ" in variable? #153

Open aikiteresa opened 7 years ago

aikiteresa commented 7 years ago

So I just installed stacey ... It looks good except "Ñame" on the index page has the "N" has the virgulilla on it. I tried editing the _shared.yml file ... but then the variable disappears altogether. Apologies if this is a basic question but I'm new to .yml. How do I fix the variable?

pbatts commented 7 years ago

Did you try replacing "Ñame" with a different value?

aikiteresa commented 7 years ago

I replaced "Ñame" with "Name" and the variable no longer displays.

pbatts commented 7 years ago

Replace name: Ñame with name: Esme

aikiteresa commented 7 years ago

Again if I replace "name: Ñame" with "name: Esme" or "name: Name" or anything else ... the name variable no longer displays at all.

pbatts commented 7 years ago

Sorry, I don't know what to say.

I have tested it and it works fine for me.

Perhaps try a fresh install of Stacey.

Which template are you using?

pbatts commented 7 years ago

Did you get it working?

aikiteresa commented 7 years ago

No, I gave up. No idea why it's doing that.

On Mon, Mar 13, 2017 at 4:02 PM, Paul Batts notifications@github.com wrote:

Did you get it working?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kolber/stacey/issues/153#issuecomment-286226112, or mute the thread https://github.com/notifications/unsubscribe-auth/AI2tje1OuLPVgXKf_zyc_UzZkG6M3PlFks5rlaDEgaJpZM4MZyf- .

pbatts commented 7 years ago

Which template are you using?

It drives me crazy not being able to figure this out and not being able to re-create the problem.

aikiteresa commented 7 years ago

Whatever the default template is when you download the zip from Github.

On Tue, Mar 14, 2017 at 10:40 PM, Paul Batts notifications@github.com wrote:

Which template are you using?

It drives me crazy not being able to figure this out and not being able to re-create the problem.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kolber/stacey/issues/153#issuecomment-286624220, or mute the thread https://github.com/notifications/unsubscribe-auth/AI2tjeuUZOCO2EYvZ5DN6iyGll3HBZvvks5rl0-jgaJpZM4MZyf- .

pbatts commented 7 years ago

I just downloaded a fresh .zip from https://github.com/kolber/stacey and it worked perfectly.

I would suggest downloading the .zip file again and give it a try with a fresh install. Only change "Ñame" in the key: value pair in the _shared.yml file.

aikiteresa commented 7 years ago

Tried that and still no go. The only thing I can think of is that the encoding is getting weird when I edit. I'm just editing the _shared.yml file in notepad. Saving it as All Files with the same name '_shared.yml'.

On Wed, Mar 15, 2017 at 9:23 AM, Paul Batts notifications@github.com wrote:

I just downloaded a fresh .zip from https://github.com/kolber/stacey and it worked perfectly.

I would suggest downloading the .zip file again and give it a try with a fresh install. Only change "Ñame" in the key: value pair in the _shared.yml file.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kolber/stacey/issues/153#issuecomment-286739349, or mute the thread https://github.com/notifications/unsubscribe-auth/AI2tjZdtGF5WuWhxVzL9o6SMUlVQvWpVks5rl-ZCgaJpZM4MZyf- .

pbatts commented 7 years ago

Yes, that is very possible. I don't have a Windows machine, so, I am unable to test that. You may have to try a different editing program. There are several free ones specifically for web developers.

You can try changing the _shared.yml file extension to _shared.txt

Stacey will work with either .yml or .txt file extension.

aikiteresa commented 7 years ago

Super weird ... saving with the .txt extension gives the same result in Notepad. Should have tried earlier, but editing it with GVIM works fine (was avoiding it out of laziness ... don't use it enough to take advantage of the commands). Guess Notepad does something strange ... maybe because the end of line character is different from *.nix text editors? When I open the _shared.yml file in Notepad, the line breaks aren't available so I get:

"name: Ñameprofession: Gräphic Designeremail: | hi@yourdomain.com" instead of the expected

"name: Ñame profession: Gräphic Designer email: | hi@yourdomain.com" which appears in GVIM

FYI, I'm using Windows 8.1 64-bit. Thanks for the support. On Wed, Mar 15, 2017 at 11:29 AM, Paul Batts wrote: > Yes, that is very possible. I don't have a Windows machine, so, I am > unable to test that. You may have to try a different editing program. There > are several free ones specifically for web developers. > > You can try changing the _shared.yml file extension to _shared.txt > > Stacey will work with either .yml or .txt file extension. > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub > , or mute > the thread > > . >
pbatts commented 7 years ago

Glad you got it figured out.

Best of luck with your project.