-
Notifications
You must be signed in to change notification settings - Fork 3k
Add Travis test to make sure text files are UTF-8 encoded #14701
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -435,7 +435,7 @@ extern "C" { | |
* PrWriteListSize | ||
* NOTE: This parameter is ignored by the CPU2 when the parameter "Options" is set to "LL_only" ( see Options description in that structure ) | ||
* | ||
* Maximum number of supported �prepare write request� | ||
* Maximum number of supported prepare write request | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @ARMmbed/team-st-mcd Please forward this change upstream |
||
* - Min value: given by the macro DEFAULT_PREP_WRITE_LIST_SIZE | ||
* - Max value: a value higher than the minimum required can be specified, but it is not recommended | ||
*/ | ||
|
@@ -502,7 +502,7 @@ extern "C" { | |
* MaxConnEventLength | ||
* This parameter determines the maximum duration of a slave connection event. When this duration is reached the slave closes | ||
* the current connections event (whatever is the CE_length parameter specified by the master in HCI_CREATE_CONNECTION HCI command), | ||
* expressed in units of 625/256 �s (~2.44 �s) | ||
* expressed in units of 625/256 µs (~2.44 µs) | ||
* - Min value: 0 (if 0 is specified, the master and slave perform only a single TX-RX exchange per connection event) | ||
* - Max value: 1638400 (4000 ms). A higher value can be specified (max 0xFFFFFFFF) but results in a maximum connection time | ||
* of 4000 ms as specified. In this case the parameter is not applied, and the predicted CE length calculated on slave is not shortened | ||
|
@@ -511,7 +511,7 @@ extern "C" { | |
|
||
/** | ||
* HsStartupTime | ||
* Startup time of the high speed (16 or 32 MHz) crystal oscillator in units of 625/256 �s (~2.44 �s). | ||
* Startup time of the high speed (16 or 32 MHz) crystal oscillator in units of 625/256 µs (~2.44 µs). | ||
* - Min value: 0 | ||
* - Max value: 820 (~2 ms). A higher value can be specified, but the value that implemented in stack is forced to ~2 ms | ||
*/ | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this check still valid or should we run
file -I <filename>
and check the encoding is one of the handful of acceptable options (at least ascii, and utf-8)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From what I've read,
file -I
doesn't check the whole file and is therefore not always correctThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Patater hopefully 15c9474 addresses your comment