Skip to content
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

[Proposal] Support For Other Encodings Besides UF8 #11

Closed
GrahamCampbell opened this issue Apr 28, 2014 · 1 comment
Closed

[Proposal] Support For Other Encodings Besides UF8 #11

GrahamCampbell opened this issue Apr 28, 2014 · 1 comment
Assignees

Comments

@GrahamCampbell
Copy link
Owner

Only utf8 is currently supported.

The proposed API examples for 3 functions:

// second (optional) parameter default to null where encoding will be autodetected
Binput::all($trim = true, $clean = true, $encoding = null);
Binput::only($keys = array('key'), $trim = true, $clean = true, $encoding = null);
Binput::get($key = null, $default = null, $trim = true, $clean = true, $encoding = null);

// here we are forcing the encoding to utf8
Binput::all($trim = true, $clean = true, $encoding = 'utf8');
Binput::only($keys = array('key'), $trim = true, $clean = true, $encoding = null);
Binput::get($key = null, $default = null, $trim = true, $clean = true, $encoding = null);

Related GrahamCampbell/Laravel-Security#15.

@GrahamCampbell GrahamCampbell added this to the V1.2 milestone Apr 28, 2014
@GrahamCampbell GrahamCampbell self-assigned this Apr 28, 2014
@GrahamCampbell GrahamCampbell changed the title Support For Other Encodings Besides UF8 [Proposal] Support For Other Encodings Besides UF8 Apr 28, 2014
@GrahamCampbell
Copy link
Owner Author

Proposal rejected.

Repository owner locked and limited conversation to collaborators Jul 12, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant