Цитата(wekapl @ 21.3.2008, 23:50 ) | | есть какие та стандарты rfc по поводу названия файлов не латинскими символами? |
rfc2183 :
| Цитата | ... 2.3 The Filename Parameter
The sender may want to suggest a filename to be used if the entity is detached and stored in a separate file. If the receiving MUA writes the entity to a file, the suggested filename should be used as a basis for the actual filename, where possible.
It is important that the receiving MUA not blindly use the suggested filename. The suggested filename SHOULD be checked (and possibly changed) to see that it conforms to local filesystem conventions, does not overwrite an existing file, and does not present a security problem (see Security Considerations below).
The receiving MUA SHOULD NOT respect any directory path information that may seem to be present in the filename parameter. The filename should be treated as a terminal component only. Portable specification of directory paths might possibly be done in the future via a separate Content-Disposition parameter, but no provision is made for it in this draft.
Current [RFC 2045] grammar restricts parameter values (and hence Content-Disposition filenames) to US-ASCII. We recognize the great desirability of allowing arbitrary character sets in filenames, but it is beyond the scope of this document to define the necessary mechanisms. We expect that the basic [RFC 1521] `value' specification will someday be amended to allow use of non-US-ASCII characters, at which time the same mechanism should be used in the Content-Disposition filename parameter. ...
|
Последний абзац говорит нам, что подпараметр filename (является частью параметра Content-Disposition), на момент создания rfc2045 может состоять только из символов ASCII. Понятно, что другие символы включить очень хочется. Ожидается, что когда-то в будущем все же можно будет использовать не-ASCII символы в параметре filename.
ASCII - это алфавит из 127 символов, в котором есть только латинские символы, цифры, знаки препинания. Следовательно, используйте только латинские символы. |