Bug 1607652 Comment 3 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Something like:
```
#ifdef XP_WIN
  // |path| is encoded in UTF-8 because SQLite always takes UTF-8 file paths
  // regardless of the current system.
  nsresult rv = file->InitWithPath(NS_ConvertUTF8toUTF16(path));
#else
  nsresult rv = file->InitWithNativePath(path);
#endif
```
Something like:
```
#ifdef XP_WIN
  // |path| is encoded in UTF-8 because SQLite always takes UTF-8 file paths
  // regardless of the current system code page.
  nsresult rv = file->InitWithPath(NS_ConvertUTF8toUTF16(path));
#else
  nsresult rv = file->InitWithNativePath(path);
#endif
```

Back to Bug 1607652 Comment 3