Re: [Django] #29817: Deprecate FILE_CHARSET setting

2019-09-10 Thread Django
#29817: Deprecate FILE_CHARSET setting
--+
 Reporter:  Jon Dufresne  |Owner:  nobody
 Type:  Cleanup/optimization  |   Status:  closed
Component:  Core (Other)  |  Version:  master
 Severity:  Normal|   Resolution:  fixed
 Keywords:| Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+

Comment (by Mariusz Felisiak ):

 In [changeset:"3d716467a9f046c7af4fb62c13e6b975c06c135f" 3d716467]:
 {{{
 #!CommitTicketReference repository=""
 revision="3d716467a9f046c7af4fb62c13e6b975c06c135f"
 Refs #29817 -- Removed settings.FILE_CHARSET per deprecation timeline.
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.a803f677be9f681a2cd69435903b76e8%40djangoproject.com.


Re: [Django] #29817: Deprecate FILE_CHARSET setting

2018-10-15 Thread Django
#29817: Deprecate FILE_CHARSET setting
--+
 Reporter:  Jon Dufresne  |Owner:  nobody
 Type:  Cleanup/optimization  |   Status:  closed
Component:  Core (Other)  |  Version:  master
 Severity:  Normal|   Resolution:  fixed
 Keywords:| Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+
Changes (by Tim Graham ):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"0cd465b63aa7c03a3d14bd5fd6543628d585f8da" 0cd465b]:
 {{{
 #!CommitTicketReference repository=""
 revision="0cd465b63aa7c03a3d14bd5fd6543628d585f8da"
 Fixed #29817 -- Deprecated settings.FILE_CHARSET.
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.efbe0d3e3b6b3db5529ad624e0cd4770%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #29817: Deprecate FILE_CHARSET setting

2018-10-10 Thread Django
#29817: Deprecate FILE_CHARSET setting
--+
 Reporter:  Jon Dufresne  |Owner:  nobody
 Type:  Cleanup/optimization  |   Status:  new
Component:  Core (Other)  |  Version:  master
 Severity:  Normal|   Resolution:
 Keywords:| Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+
Changes (by Tim Graham):

 * stage:  Unreviewed => Accepted


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.608e4003949813398b2cf01e3d92969d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #29817: Deprecate FILE_CHARSET setting

2018-10-04 Thread Django
#29817: Deprecate FILE_CHARSET setting
-+-
 Reporter:  Jon Dufresne |Owner:  nobody
 Type:   |   Status:  new
  Cleanup/optimization   |
Component:  Core (Other) |  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:
 |  Unreviewed
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Carlton Gibson):

 * status:  closed => new
 * resolution:  wontfix =>


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.c473c2a059f63f8dc1a95a3260841c40%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #29817: Deprecate FILE_CHARSET setting

2018-10-04 Thread Django
#29817: Deprecate FILE_CHARSET setting
-+-
 Reporter:  Jon Dufresne |Owner:  nobody
 Type:   |   Status:  closed
  Cleanup/optimization   |
Component:  Core (Other) |  Version:  master
 Severity:  Normal   |   Resolution:  wontfix
 Keywords:   | Triage Stage:
 |  Unreviewed
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Carlton Gibson):

 So the discussion evolve such that it looks like the only issue here would
 be enforcing the use of UTF-8 in editors (for template files etc).

 Is that something we want to do? (Not, as yet, answers on the thread re
 that.)

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.f48fc4c4daf732d935c8dc4d59118380%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #29817: Deprecate FILE_CHARSET setting

2018-10-03 Thread Django
#29817: Deprecate FILE_CHARSET setting
-+-
 Reporter:  Jon Dufresne |Owner:  nobody
 Type:   |   Status:  closed
  Cleanup/optimization   |
Component:  Core (Other) |  Version:  master
 Severity:  Normal   |   Resolution:  wontfix
 Keywords:   | Triage Stage:
 |  Unreviewed
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Carlton Gibson):

 * status:  new => closed
 * resolution:   => wontfix


Comment:

 Initial feedback on the thread is that this probably **IS** needed. I'm
 going to close as `wontfix` on that basis, but **happy to reopen** if the
 discussion develops there.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.8aca144850eb4a09144775b30769fe59%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #29817: Deprecate FILE_CHARSET setting

2018-10-03 Thread Django
#29817: Deprecate FILE_CHARSET setting
-+-
 Reporter:  Jon Dufresne |Owner:  nobody
 Type:   |   Status:  new
  Cleanup/optimization   |
Component:  Core (Other) |  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:
 |  Unreviewed
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Carlton Gibson):

 This would be nice. Django-developers thread asking for input:
 https://groups.google.com/d/topic/django-developers/7bZbYVV6hg4/discussion
 — lets see if there are any issues raised.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.62bdd0631d8d5bea6a61019b5c6da284%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #29817: Deprecate FILE_CHARSET setting

2018-10-02 Thread Django
#29817: Deprecate FILE_CHARSET setting
-+-
 Reporter:  Jon Dufresne |Owner:  nobody
 Type:   |   Status:  new
  Cleanup/optimization   |
Component:  Core (Other) |  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:
 |  Unreviewed
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Jon Dufresne):

 * has_patch:  0 => 1


Comment:

 [https://github.com/django/django/pull/10472 PR]

 Additionally, there was some discussion of this in
 [https://github.com/django/django/pull/10428#discussion_r219679706
 PR#10428] which motivated this work.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.7618bd8108adccb2eff20dc3807cb5af%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


[Django] #29817: Deprecate FILE_CHARSET setting

2018-10-02 Thread Django
#29817: Deprecate FILE_CHARSET setting
+
   Reporter:  Jon Dufresne  |  Owner:  nobody
   Type:  Cleanup/optimization  | Status:  new
  Component:  Core (Other)  |Version:  master
   Severity:  Normal|   Keywords:
   Triage Stage:  Unreviewed|  Has patch:  0
Needs documentation:  0 |Needs tests:  0
Patch needs improvement:  0 |  Easy pickings:  0
  UI/UX:  0 |
+
 The setting was introduced in
 
[https://github.com/django/django/commit/953badbea5a04159adbfa970f5805c0232b6a401
 953badbea5a04159adbfa970f5805c0232b6a401].

 It looks as `settings.FILE_CHARSET` is no longer necessary and could
 easily be deprecated. Its existence is
 [https://docs.djangoproject.com/en/dev/ref/unicode/#templates justified
 as]:

 > But the common case is to read templates from the filesystem, and this
 creates a slight complication: not all filesystems store their data
 encoded as UTF-8. If your template files are not stored with a UTF-8
 encoding, set the FILE_CHARSET setting to the encoding of the files on
 disk. When Django reads in a template file, it will convert the data from
 this encoding to Unicode.

 Which seems suspect to me. I'm not aware of any modern environment that
 can't UTF-8 encode files to disk.

 Its use is extremely limited in the code. After removal, we could instead
 document that files must be encoded using UTF-8.

 Much like `DEFAULT_CONTENT_TYPE`, this setting doesn't play well with
 third-party libraries. If a project were to use this setting, it might be
 unable to load templates from third-party libraries that used the default
 UTF-8 encoding.

 Further, this setting is entirely untested.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/052.12fee2d466431a6481dbe5694f50b3b4%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.