Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialZachary Jenkins
8,750 Pointsgoogle api fonts
how do you fix the google fonts notification error(when validating code) in regards to using escape characters???
thanks much
2 Answers
Jason Anello
Courses Plus Student 94,610 PointsYou need to url encode the pipe character, |
(vertical bar)
Replace the vertical bar characters with %7C
James Barnett
39,199 PointsThe |
character is invalid in a URL, so to encode the |
character change it to %7c
Zachary Jenkins
8,750 PointsZachary Jenkins
8,750 Pointshey thanks guys...i didn't realize you had to encode the ascii hex value. :]
James Barnett
39,199 PointsJames Barnett
39,199 PointsZachary Jenkins -
Any character besides
a-z
,A-Z
,0-9
,-
,.
,_
, and~
needs to be encoded.source:Section 2.3 of RFC 3986 the standard which defines the syntax for a URL
Zachary Jenkins
8,750 PointsZachary Jenkins
8,750 Pointsthanks so much James :]