Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Added a note to the dom-crawler docs about character sets#2550

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
weaverryan merged 1 commit intosymfony:2.0fromdeanc:domcrawler-charset-doc
May 4, 2013
Merged

Added a note to the dom-crawler docs about character sets#2550

weaverryan merged 1 commit intosymfony:2.0fromdeanc:domcrawler-charset-doc
May 4, 2013

Conversation

deanc
Copy link
Contributor

I added a note to the documentation to make it clear that when adding content using the default examples, the charset is assumed to be ISO-8859-1. If one wants to crawl/scrape UTF-8 documents, they should create a blank object and use addHTMLContent and specify the character set.

QA
Doc fix?yes
New docs?no
Applies to2.0+
Fixed ticketsn/a

@@ -160,6 +160,12 @@ The crawler supports multiple ways of adding the content::
$crawler->add('<html><body /></html>');
$crawler->add('<root><node /></root>');

.. note::
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I think a.. caution:: directive is better

weaverryan added a commit that referenced this pull requestMay 4, 2013
Added a note to the dom-crawler docs about character sets
@weaverryanweaverryan merged commit32faf96 intosymfony:2.0May 4, 2013
@weaverryan
Copy link
Member

Hey Dean!

Very nice note - thanks for contributing it!

Cheers!

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@deanc@weaverryan@wouterj

[8]ページ先頭

©2009-2025 Movatter.jp