Allow repositories to specify the default encoding

Review Request #222 — Created Feb. 9, 2008 and submitted

Information

Review Board SVN (deprecated)
trunk
380

Reviewers

Until now, we've been assuming that all source files are either UTF-8
or ISO-8859-15.  This breaks things for people who use other, incompatible
encodings like Shift-JIS.

This change adds an optional encoding field to the repository model so
people can set it there.  This is probably the best we can do, since I
don't know of any VCS that actually keeps track of the encoding of files
stored inside it.

 
chipx86
  1. 
      
  2. We hard-code this in several places. Maybe we should have a global setting for the default and reference that.
    1. It turns out this was just me being silly -- it only needs to be in one spot anyhow.
  3. 
      
chipx86
  1. Looks good.
  2. 
      
Loading...