The reviewboard admin option: Advanced Settings > Encoding
Is what I am looking for? Which are the possible options to be used in this field? UTF-8, ANSI, etc. On Tuesday, September 5, 2017 at 2:49:39 PM UTC-3, Rodolfo Gomes Dias wrote: > > Hi, > > I have been using reviewboard for a couple of months and during this time > I have faced some encoding problems when posting my reviews. > My currenty problem is the following. Sometimes code is posted with a > different encoding, I have noticed it by checking the encoding of the files > on the temporary folder (c:/windows/temp/reviewboard.??????). In my case, > sometimes a file is encoded in ANSI and its new version in UTF-8 and the > other way around. This scenario gives me an error when posting a review > with the message, *"There was an error displaying this diff".* > I must say that, I cannot avoid the current enconding mess as it is today. > As the time goes on, all project's code will be using UTF-8 because we have > defined it as the unique encoding of the project. > > My questions are. > 1. Am I right in assume that the diff error "There was an error displaying > this diff" is caused by the difference in encodings? > 2. Is there a way to force a conversion of the files inside the > reviewboard domain. I mean, whatever the encoding, reviewboard will handle > the files in a specified encoding and perform the conversion and the diff, > even ignoring characters when the conversions isn't possible. > 3. Is it possible to tell me where in the reviewboard's source code can I > implement a behaviour like the one suggested in item 2? > 4. Is there a simple way to fix this issue and I can forget all I have > said on items 1, 2, and 3? > > Thanks. > -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.