Permalink
Browse files

Merge pull request #8 from drbrain/master

README and README.rdoc need to be tagged with an encoding as they are not 7-bit ASCII compatible
  • Loading branch information...
2 parents 8646475 + 652b2f0 commit a1d41f1654395ab613b564be3e473cb545185852 @jimweirich jimweirich committed Nov 30, 2011
Showing with 8 additions and 6 deletions.
  1. +4 −3 README
  2. +4 −3 README.rdoc
View
7 README
@@ -1,3 +1,4 @@
+# coding: UTF-8
= Project: Builder
== Goal
@@ -206,7 +207,7 @@ incompatibility are:
Example:
xml = Builder::Markup.new
- xml.sample("I�t�rn�ti�n�l")
+ xml.sample("Iñtërnâtiônàl")
xml.target! =>
"<sample>I&#241;t&#235;rn&#226;ti&#244;n&#224;l</sample>"
@@ -217,9 +218,9 @@ incompatibility are:
$KCODE = 'UTF8'
xml = Builder::Markup.new
xml.instruct!(:xml, :encoding => "UTF-8")
- xml.sample("I�t�rn�ti�n�l")
+ xml.sample("Iñtërnâtiônàl")
xml.target! =>
- "<sample>I�t�rn�ti�n�l</sample>"
+ "<sample>Iñtërnâtiônàl</sample>"
== Contact
View
@@ -1,3 +1,4 @@
+# coding: UTF-8
= Project: Builder
== Goal
@@ -202,7 +203,7 @@ incompatibility are:
Example:
xml = Builder::Markup.new
- xml.sample("I$-1¶Æt(5k(Brn¶¨ti¶Én¶¦l")-A
+ xml.sample("I$-1¶Æt(5k(Brn¶¨ti¶Én¶¦l")-A
xml.target! =>
"<sample>I&#241;t&#235;rn&#226;ti&#244;n&#224;l</sample>"
@@ -213,9 +214,9 @@ incompatibility are:
$KCODE = 'UTF8'
xml = Builder::Markup.new
xml.instruct!(:xml, :encoding => "UTF-8")
- xml.sample("I$-1¶Æt(5k(Brn¶¨ti¶Én¶¦l")-A
+ xml.sample("Iñtërnâtiônàl")
xml.target! =>
- "<sample>I$-1¶Æt(5k(Brn¶¨ti¶Én¶¦l</sample>"-A
+ "<sample>Iñtërnâtiônàl</sample>"
== Links

0 comments on commit a1d41f1

Please sign in to comment.