[SERVER-28950] IDL compiler relies on platform dependent default file encoding Created: 24/Apr/17 Updated: 30/Oct/23 Resolved: 25/Apr/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 3.5.7 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Mark Benvenuto | Assignee: | Mark Benvenuto |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Sprint: | Platforms 2017-05-08 |
| Participants: |
| Description |
|
The IDL compiler calls io.open without specifying an encoding. The encoding chosen is platform-dependent. The fix is to specify "encoding='utf-8'" to ensure UTF-8 is always used. |
| Comments |
| Comment by Githook User [ 25/Apr/17 ] |
|
Author: {u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}Message: |