How do I use GBP pound sterling symbol in Ruby on Rail's number to currency method?

Put the following in the first line of your file where you have £ coding: utf-8 By default, ruby can read one-byte characters, which are US-ASCII characters The £ character does not fit within US-ASCII code, and the magic comment above let ruby read the file as UTF-8 code, which is becoming standard, and is capable of handeling multi-byte characters, including £ (Added following the suggestion by the Tin Man).

Put the following in the first line of your file where you have £. #coding: utf-8 By default, ruby can read one-byte characters, which are US-ASCII characters. The £ character does not fit within US-ASCII code, and the magic comment above let ruby read the file as UTF-8 code, which is becoming standard, and is capable of handeling multi-byte characters, including £ (Added following the suggestion by the Tin Man).

2 for completeness, you might want to explain why that is important. The extra information will make a much better answer. – the Tin Man Apr 24 at 21:37.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions