Добрый вечер, есть массив
Array
(
[detail] => Array
(
[0] => Array
(
[analog] => Прайс
[caption] => Моторное масло HELIX ULTRA 5W-40 4L
[code] => 550040755
[currency] => руб
[dataprice] => 2018-05-17 15:27:29
[delivery] => 4
[deliverydays] => 0
[deliveryDisplay] => 0-4
[id] => 0_0
[price] => 1995.42
[userformat_price] => 1996
[producer] => SHELL
[rest] => 2654
[minOrderCount] => 1
[stock] => Cella995/1
[RegionName] => Москва
[bra_id] => 10340
[cella_id] => 31448
[PercentRefuse] => 4
[n_file] => 1
[supplier_comment] => Возврат невозможен
Официальный дистрибьютор Shell.
[arrival_date] => Array
(
)
[b_id] => 62C368C651BBE3F125BF80237C9F62176D639556BA42CB82F834FCF8FA81FB0FACD81B6AF329141E8C6058F05F142BFA33DB52797F0161E992290C1DEC2C414D41860A26323A36BFDCD3482DB6A94F0C281CAA328FBCB6E8A92FEEE6C02A4BF0F4A76DF978E1F42050214CA0655E687B5D42BF962121552CBFC4071C21457256F3863303E5894D5AB89F794EF9FE276CC3E94EFC03B181BD0FBBE942901D1A52
)
[1] => Array
(
[analog] => Прайс
[caption] => Shell Helix Ultra 5w-40 4l
[code] => 550040755
[currency] => руб
[dataprice] => 2018-05-16 01:27:07
[delivery] => 2
[deliverydays] => 1
[deliveryDisplay] => 1-2
[id] => 0_1
[price] => 2019.71
[userformat_price] => 2020
[producer] => SHELL
[rest] => 2000
[minOrderCount] => 1
[stock] => Cella1157/1
[RegionName] => Москва
[bra_id] => 10340
[cella_id] => 45551
[PercentRefuse] => 6
[n_file] => 1
[supplier_comment] => Возврат с удержанием 30%
АКЦИЯ. При покупке товаров Willson ws01241, ws01238, ws01239, ws01240, ws01236, ws01237, ws01276, ws01275 в подарок идет одна позиция марки Problesk: Pb3001, Pb3002, Pb7001, Pb4001.
[arrival_date] => 2018-05-21 15:30:00
[b_id] => 62C368C651BBE3F125BF80237C9F62176D639556BA42CB82F834FCF8FA81FB0F28528AD7A2DEF5D0ED3B6A3B533C06BC3154D3E43BF274508AD2B69252CE5F924E7A4D11EB4FD30B84A8C833FB3671A9520F8F43CAEBAD098CC020F6A49D01D510D8EBD66C8F978ADDE3BB79FF0BFB61D3638C61C2E46030BFCA6B59409CE83F7A26B8882810613DE6C64506C129A33C
)
[2] => Array
(
[analog] => Прайс
[caption] => Shell Helix Ultra 5w40 4л масло моторное/4
[code] => 550040755
[currency] => руб
[dataprice] => 2018-05-17 10:36:15
[delivery] => 3
[deliverydays] => 1
[deliveryDisplay] => 0-1
[id] => 0_2
[price] => 2058.45
[userformat_price] => 2059
[producer] => SHELL
[rest] => 1534
[minOrderCount] => 1
[stock] => Cella1130/1
[RegionName] => Москва
[bra_id] => 10340
[cella_id] => 42119
[PercentRefuse] => 6
[n_file] => 1
[supplier_comment] => Официальный дистрибьютор/дилер продукции под брендами Chevron, LAVR, WD-40, POXIPOL, ALTECO, Turtle Wax, Petro-Canada, PEAK, LIQUI MOLY, KIXX, DYNAMATRIX, ODIS, MANNOL, SCT.
[arrival_date] => 2018-05-18 18:00:00
[b_id] => 62C368C651BBE3F125BF80237C9F62176D639556BA42CB82F834FCF8FA81FB0FA404F388FCAF01DE395ABB6E5913E556053B4234B2F1BA37D871D0F5EB26E1A24543228AF9D1257EAE40E02951ED3C38FD820EDB6AE2EC54714D25B88ACA9DF148508E6CE7DF015F17E1A4A1BEB9DB7D5C88259B9BAD4E36685141C296CA2C8609190E9579A24C08F7C6B072C4F9FC49B7B206617B77DA4AFC5E228D5AA8095F
)
)
)
Вывожу
foreach ($xml_result_adeo['detail'] as $detail) {
print $detail['caption']; //выводит все названия по списку
}
Все хорошо, получаю то что нужно, а вот этот массив
Array
(
[detail] => Array
(
[analog] => Прайс
[caption] => МОТОПОКРЫШКА MICHELIN 180
[code] => 990721
[currency] => руб
[dataprice] => 2018-05-17 18:27:05
[delivery] => 2
[deliverydays] => 1
[deliveryDisplay] => 0-2
[id] => 0_0
[price] => 14257.41
[userformat_price] => 14258
[producer] => MICHELIN
[rest] => 1
[minOrderCount] => 1
[stock] => Cella778/1
[RegionName] => Москва
[bra_id] => 11044
[cella_id] => 20351
[PercentRefuse] => 42
[n_file] => 1
[supplier_comment] => Возврат с удержанием 30%
[arrival_date] => Array
(
)
[b_id] => E5EBBA985EB14DB52696E419B4AE8A7228C36441DA30F8E72592FBB032A13CC0730F65F1B11022445D69897557BC08A3CAFCB1683CBE576C44DED72C36874F970EE7D19EA4D52E492F489309F4E14658F43925A8F8E6BA329589A1D2E6BF9221621F4B11288133AB4D5787CB729A8F89672D36F2535F8ABB21799FCB1C2C501E6664D10D73FD8C7587CA13A7E440F003168470EB33116FF02D986E60AE6C881C
)
)
Вывожу
foreach ($xml_result_adeo['detail'] as $detail) {
print $detail['caption']; //
}
выводит что то типа ��9�2210011M, как правильно вывести это все дело?