symfony/symfony — pull request #10331 by peter-gribanov (2014-02-26 09:43:57+00:00)
Title: [Routing] Invalid characters in path to the application for Windows

| Q | A
| ------------------ | ---
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| License | MIT

Unable to run the application on Windows if the path to application contains characters outside the ASCII

Example bad path:
- `C:\Documents and Settings\Администратор\Рабочий стол\application\`
- `C:\Documents and Settings\Администратор\Мои документы\application\`

**Example**
Launch the application at `C:\Тест\`
After start seeing error:
```
The YAML value does not appear to be valid UTF-8.
```
The problem is that the file `C:\Тест\app\cache\dev\assetic\routing.yml` contains the code:
```yaml
_assetic:
resource: .
type: assetic
_app:
resource: 'C:\Тест\app\config\routing_dev.yml'
```

*This problem only in dev mode*